/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
- #!/usr/bin/env ruby
- #
- # Put description here
- #
- #
- #
- #
- #
- require 'swig_assert'
- require 'template_extend2'
- a = Template_extend2::LBaz.new
- b = Template_extend2::DBaz.new
- raise RuntimeError unless a.foo() == "lBaz::foo"
- raise RuntimeError unless b.foo() == "dBaz::foo"