summaryrefslogtreecommitdiff
path: root/Examples/test-suite/ruby/cast_operator_runme.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/ruby/cast_operator_runme.rb')
-rwxr-xr-xExamples/test-suite/ruby/cast_operator_runme.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Examples/test-suite/ruby/cast_operator_runme.rb b/Examples/test-suite/ruby/cast_operator_runme.rb
new file mode 100755
index 0000000..4879bef
--- /dev/null
+++ b/Examples/test-suite/ruby/cast_operator_runme.rb
@@ -0,0 +1,17 @@
+#!/usr/bin/env ruby
+#
+# Put script description here.
+#
+#
+#
+#
+#
+
+require 'swig_assert'
+require 'cast_operator'
+include Cast_operator
+
+a = A.new
+t = a.tochar
+
+swig_assert( t == 'hi' )