import source from 1.3.40
[external/swig.git] / Examples / test-suite / ruby / using_protected_runme.rb
1 #!/usr/bin/env ruby
2 #
3 # Put description here
4 #
5
6
7
8 #
9
10 require 'swig_assert'
11
12 require 'using_protected'
13
14 include Using_protected
15
16 f = FooBar.new
17 f.x = 3
18
19 if f.blah(4) != 4
20   raise RuntimeError, "blah(int)"
21 end
22