PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/ruby/director_string_runme.rb

#
Ruby | 24 lines | 10 code | 6 blank | 8 comment | 0 complexity | 779ad347ca6ac668fc62d1bf871b727c MD5 | raw file
 1#!/usr/bin/env ruby
 2#
 3# Put description here
 4#
 5# 
 6# 
 7# 
 8#
 9
10require 'swig_assert'
11
12require 'director_string'
13
14class B < Director_string::A
15
16 def initialize(some_string)
17  super(some_string)
18 end
19end
20
21
22b = B.new("hello")
23b.get_first
24b.get(0)