PageRenderTime 60ms CodeModel.GetById 2ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Ruby | 17 lines | 5 code | 4 blank | 8 comment | 2 complexity | ff0c84a7271b8b914482dbc958df4b2d MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. #!/usr/bin/env ruby
  2. #
  3. # Put description here
  4. #
  5. #
  6. #
  7. #
  8. #
  9. require 'swig_assert'
  10. require 'director_frob'
  11. foo = Director_frob::Bravo.new;
  12. s = foo.abs_method;
  13. raise RuntimeError if s != "Bravo::abs_method()"