PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

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

#
Ruby | 30 lines | 14 code | 8 blank | 8 comment | 0 complexity | af4b13071ef6ac628c63d4410d8805c9 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_default'
13
14
15
16a = Director_default::Foo.new 1
17a = Director_default::Foo.new 
18
19a.Msg 
20a.Msg "hello"
21a.GetMsg
22a.GetMsg "hello"
23
24a = Director_default::Bar.new 1
25a = Director_default::Bar.new 
26
27a.Msg 
28a.Msg "hello"
29a.GetMsg
30a.GetMsg "hello"