PageRenderTime 19ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/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
 1require 'class_ignore'
 2
 3a = Class_ignore::Bar.new
 4
 5# Even though we didn't wrap the Foo class, this call
 6# to do_blah() should succeed.
 7
 8if Class_ignore.do_blah(a) != "Bar::blah"
 9  raise RuntimeError
10end