*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
97565bb8a7
commit
13cf7ae4b6
2 changed files with 18 additions and 1 deletions
17
Examples/test-suite/ruby/director_unroll_runme.rb
Normal file
17
Examples/test-suite/ruby/director_unroll_runme.rb
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
require 'director_unroll'
|
||||
|
||||
class MyFoo < Director_unroll::Foo
|
||||
def ping
|
||||
"MyFoo::ping()"
|
||||
end
|
||||
end
|
||||
|
||||
a = MyFoo.new
|
||||
|
||||
b = Director_unroll::Bar.new
|
||||
|
||||
b.set(a)
|
||||
c = b.get()
|
||||
|
||||
raise RuntimeError if a != c
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue