/trunk/Examples/test-suite/ruby/director_string_runme.rb
# · Ruby · 24 lines · 10 code · 6 blank · 8 comment · 0 complexity · 779ad347ca6ac668fc62d1bf871b727c MD5 · raw file
- #!/usr/bin/env ruby
- #
- # Put description here
- #
- #
- #
- #
- #
- require 'swig_assert'
- require 'director_string'
- class B < Director_string::A
- def initialize(some_string)
- super(some_string)
- end
- end
- b = B.new("hello")
- b.get_first
- b.get(0)