swig/Examples/test-suite/ruby/casts_runme.rb
Karl Wette 7cd9063b52 Remove execute permissions from various non-executable files
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
  test suites, so also do not need to be executable
2014-05-02 20:06:11 +02:00

23 lines
273 B
Ruby

#!/usr/bin/env ruby
#
# Put script description here.
#
#
#
#
#
require 'swig_assert'
require 'casts'
include Casts
swig_assert( B.ancestors.include?(A), 'B.ancestors.include? A' )
a = A.new
a.hello
b = B.new
b.hello
swig_assert( b.kind_of?( A ), ' B.kind_of? A' )