/trunk/Examples/test-suite/ruby/director_string_runme.rb
Ruby | 24 lines | 10 code | 6 blank | 8 comment | 0 complexity | 779ad347ca6ac668fc62d1bf871b727c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- #!/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)