/trunk/Examples/test-suite/ruby/sneaky1_runme.rb
Ruby | 17 lines | 6 code | 3 blank | 8 comment | 0 complexity | a5738fe80d998032b9f8c50ac2264c12 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- #!/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)