swig/Examples/test-suite/ruby/class_ignore_runme.rb
Dave Beazley 12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00

10 lines
204 B
Ruby
Executable file

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