/trunk/Examples/test-suite/ruby/using_protected_runme.rb
Ruby | 22 lines | 8 code | 6 blank | 8 comment | 2 complexity | 30eaef5ce031ae234e048dc5c256aded 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 'using_protected'
- include Using_protected
- f = FooBar.new
- f.x = 3
- if f.blah(4) != 4
- raise RuntimeError, "blah(int)"
- end