/trunk/Examples/test-suite/ruby/director_default_runme.rb

# · Ruby · 30 lines · 14 code · 8 blank · 8 comment · 0 complexity · af4b13071ef6ac628c63d4410d8805c9 MD5 · raw file

  1. #!/usr/bin/env ruby
  2. #
  3. # Put description here
  4. #
  5. #
  6. #
  7. #
  8. #
  9. require 'swig_assert'
  10. require 'director_default'
  11. a = Director_default::Foo.new 1
  12. a = Director_default::Foo.new
  13. a.Msg
  14. a.Msg "hello"
  15. a.GetMsg
  16. a.GetMsg "hello"
  17. a = Director_default::Bar.new 1
  18. a = Director_default::Bar.new
  19. a.Msg
  20. a.Msg "hello"
  21. a.GetMsg
  22. a.GetMsg "hello"