/trunk/Examples/test-suite/ruby/sneaky1_runme.rb
# · Ruby · 17 lines · 6 code · 3 blank · 8 comment · 0 complexity · a5738fe80d998032b9f8c50ac2264c12 MD5 · raw file
- #!/usr/bin/env ruby
- #
- # Put description here
- #
- #
- #
- #
- #
- require 'swig_assert'
- require 'sneaky1'
- x = Sneaky1.add(3, 4)
- y = Sneaky1.subtract(3, 4)
- z = Sneaky1.mul(3, 4)
- w = Sneaky1.divide(3, 4)