examples/ruote_quickstart.rb in ruote-2.1.4 vs examples/ruote_quickstart.rb in ruote-2.1.5
- old
+ new
@@ -7,11 +7,12 @@
# preparing the engine
engine = Ruote::Engine.new(
Ruote::Worker.new(
- Ruote::FsStorage.new("ruote_work")))
- #Ruote::HashStorage.new))
+ Ruote::FsStorage.new(
+ 'ruote_work',
+ 's_logger' => [ 'ruote/log/test_logger', 'Ruote::TestLogger' ])))
# registering participants
engine.register_participant :alpha do |workitem|
workitem.fields['message'] = { 'text' => 'hello !', 'author' => 'Alice' }