summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-27 11:49:10 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-27 11:49:10 +0200
commit06fe1fe549d6c7dbb643a07a485d24c3e45216d3 (patch)
tree90947a79c9732a3424b28fd972de06e070e95c53 /examples
parent2526cd9aef3bb7dc04901be4067dd211f03fe9b5 (diff)
parent7cfcad744d3e18cbe8a9f71c43a0cad1e8fdd6b4 (diff)
downloadedoors-ruby-06fe1fe549d6c7dbb643a07a485d24c3e45216d3.zip
edoors-ruby-06fe1fe549d6c7dbb643a07a485d24c3e45216d3.tar.gz
Merge branch 'rewrite0'
Diffstat (limited to 'examples')
-rw-r--r--examples/hello_world.json9
-rw-r--r--examples/hello_world.rb2
2 files changed, 5 insertions, 6 deletions
diff --git a/examples/hello_world.json b/examples/hello_world.json
index 295b10d..6635bca 100644
--- a/examples/hello_world.json
+++ b/examples/hello_world.json
@@ -1,6 +1,6 @@
{
"kls": "Edoors::Spin",
- "timestamp": "2012-06-10 23:17:15 +0200",
+ "timestamp": "2012-06-24 22:50:00 +0200",
"name": "dom0",
"hibernation": false,
"inner_room": {
@@ -20,9 +20,8 @@
"kls": "Edoors::Link",
"src": "input",
"dsts": "output",
- "fields": null,
- "cond_fields": null,
- "cond_value": null
+ "keys": null,
+ "value": null
}
]
}
@@ -33,6 +32,6 @@
"app_fifo": [
],
- "debug_errors": false,
+ "debug_garbage": false,
"debug_routing": false
}
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!