PageRenderTime 39ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Ruby | 19 lines | 6 code | 5 blank | 8 comment | 2 complexity | cb18357c167ec5feb2a52f21a3beb4b0 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 'template_extend2'
  11. a = Template_extend2::LBaz.new
  12. b = Template_extend2::DBaz.new
  13. raise RuntimeError unless a.foo() == "lBaz::foo"
  14. raise RuntimeError unless b.foo() == "dBaz::foo"