summaryrefslogtreecommitdiffstats
path: root/examples/hello_world.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-27 09:46:06 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-27 09:46:06 +0200
commit7cfcad744d3e18cbe8a9f71c43a0cad1e8fdd6b4 (patch)
treeaf1c388a8368b643e14c01ac706eefac91aa075d /examples/hello_world.rb
parentf5d31e6723182745c9e97b16192b42d84c52f3e0 (diff)
downloadedoors-ruby-rewrite0.zip
edoors-ruby-rewrite0.tar.gz
update example to refelect API changesrewrite0
Diffstat (limited to 'examples/hello_world.rb')
-rw-r--r--examples/hello_world.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello_world.rb b/examples/hello_world.rb
index 3976d6f..e4ee3c2 100644
--- a/examples/hello_world.rb
+++ b/examples/hello_world.rb
@@ -62,7 +62,7 @@ if $0 == __FILE__
# This will output the receive data and let the system recycle the particle
output = OutputDoor.new 'output', dom0
# This will be the unconditinal link leading from 'input' to 'output'
- dom0.add_link Edoors::Link.new('input', 'output', nil, nil, nil)
+ dom0.add_link Edoors::Link.new('input', 'output', nil, nil)
#
# schedule the spinning particles untill the system cools down
dom0.spin!