diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-27 09:46:06 +0200 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-27 09:46:06 +0200 | 
| commit | 7cfcad744d3e18cbe8a9f71c43a0cad1e8fdd6b4 (patch) | |
| tree | af1c388a8368b643e14c01ac706eefac91aa075d /examples | |
| parent | f5d31e6723182745c9e97b16192b42d84c52f3e0 (diff) | |
| download | edoors-ruby-7cfcad744d3e18cbe8a9f71c43a0cad1e8fdd6b4.zip edoors-ruby-7cfcad744d3e18cbe8a9f71c43a0cad1e8fdd6b4.tar.gz  | |
update example to refelect API changesrewrite0
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/hello_world.json | 9 | ||||
| -rw-r--r-- | examples/hello_world.rb | 2 | 
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!  | 
