PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms 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
 1#!/usr/bin/env ruby
 2#
 3# Put description here
 4#
 5# 
 6# 
 7# 
 8#
 9
10require 'swig_assert'
11
12require 'template_extend2'
13
14a = Template_extend2::LBaz.new
15b = Template_extend2::DBaz.new
16
17raise RuntimeError unless a.foo() == "lBaz::foo"
18raise RuntimeError unless b.foo() == "dBaz::foo"
19