summaryrefslogtreecommitdiff
path: root/trunk/Examples/test-suite/ruby/template_extend2_runme.rb
blob: 89082b97cfcfa8df56fc15b5a8a636ec5aac338d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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"