diff options
Diffstat (limited to 'Examples/test-suite/ruby/director_unroll_runme.rb')
| -rw-r--r-- | Examples/test-suite/ruby/director_unroll_runme.rb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Examples/test-suite/ruby/director_unroll_runme.rb b/Examples/test-suite/ruby/director_unroll_runme.rb new file mode 100644 index 0000000..0545671 --- /dev/null +++ b/Examples/test-suite/ruby/director_unroll_runme.rb @@ -0,0 +1,28 @@ +#!/usr/bin/env ruby +# +# Put description here +# +# +# +# +# + +require 'swig_assert' + +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 + |
