git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
17 lines
201 B
Ruby
17 lines
201 B
Ruby
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
|
|
|