PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/trunk/Examples/test-suite/ruby/sneaky1_runme.rb

#
Ruby | 17 lines | 6 code | 3 blank | 8 comment | 0 complexity | a5738fe80d998032b9f8c50ac2264c12 MD5 | raw file
 1#!/usr/bin/env ruby
 2#
 3# Put description here
 4#
 5# 
 6# 
 7# 
 8#
 9
10require 'swig_assert'
11
12require 'sneaky1'
13
14x = Sneaky1.add(3, 4)
15y = Sneaky1.subtract(3, 4)
16z = Sneaky1.mul(3, 4)
17w = Sneaky1.divide(3, 4)