summaryrefslogtreecommitdiff
path: root/Examples/test-suite/ruby/class_ignore_runme.rb
blob: 28e432486d2935c67f9f3a7086957c9318d57d44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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