/tags/rel-1.3.35/Examples/test-suite/ruby/class_ignore_runme.rb
# · Ruby · 21 lines · 6 code · 5 blank · 10 comment · 2 complexity · 9482fbe6d84cacf548d7df5b94d5088f MD5 · raw file
- #!/usr/bin/env ruby
- #
- # Put description here
- #
- #
- #
- #
- #
- require 'swig_assert'
- 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