Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/ruby/using_protected_runme.rb
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

23 lines
215 B
Ruby

#!/usr/bin/env ruby
#
# Put description here
#
#
#
#
#
require 'swig_assert'
require 'using_protected'
include Using_protected
f = FooBar.new
f.x = 3
if f.blah(4) != 4
raise RuntimeError, "blah(int)"
end