projects
/
external
/
swig.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import source from 1.3.40
[external/swig.git]
/
Examples
/
test-suite
/
ruby
/
director_default_runme.rb
1
#!/usr/bin/env ruby
2
#
3
# Put description here
4
#
5
#
6
#
7
#
8
#
9
10
require 'swig_assert'
11
12
require 'director_default'
13
14
15
16
a = Director_default::Foo.new 1
17
a = Director_default::Foo.new
18
19
a.Msg
20
a.Msg "hello"
21
a.GetMsg
22
a.GetMsg "hello"
23
24
a = Director_default::Bar.new 1
25
a = Director_default::Bar.new
26
27
a.Msg
28
a.Msg "hello"
29
a.GetMsg
30
a.GetMsg "hello"