git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
11 lines
133 B
Ruby
11 lines
133 B
Ruby
require 'using_protected'
|
|
|
|
include Using_protected
|
|
|
|
f = FooBar.new
|
|
f.x = 3
|
|
|
|
if f.blah(4) != 4
|
|
raise RuntimeError, "blah(int)"
|
|
end
|
|
|