/tags/rel-1-3-29/SWIG/Examples/test-suite/ruby/class_ignore_runme.rb
Ruby | 10 lines | 5 code | 3 blank | 2 comment | 2 complexity | acd46e755d3957aac717e636e9d51ddb MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- require 'class_ignore'
- a = Class_ignore::Bar.new
- # Even though we didn't wrap the Foo class, this call
- # to do_blah() should succeed.
- if Class_ignore.do_blah(a) != "Bar::blah"
- raise RuntimeError
- end