*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fe0fe922d4
commit
adf656870a
7 changed files with 85 additions and 0 deletions
11
Examples/test-suite/ruby/using_protected_runme.rb
Normal file
11
Examples/test-suite/ruby/using_protected_runme.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
require 'using_protected'
|
||||
|
||||
include Using_protected
|
||||
|
||||
f = FooBar.new
|
||||
f.x = 3
|
||||
|
||||
if f.blah(4) != 4
|
||||
raise RuntimeError, "blah(int)"
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue