lib/ruote/part/engine_participant.rb in ruote-2.1.9 vs lib/ruote/part/engine_participant.rb in ruote-2.1.10

- old
+ new

@@ -61,11 +61,11 @@ # explicitely set (else it would default to 'engine')). Each engine is then # registered as participant in the other engine. The registration parameters # detail the class and the arguments to the storage of the target engine. # # This example is a bit dry / flat. A real world example would perhaps detail - # a 'master' engine connected to 'departemental' engines, something more + # a 'master' engine connected to 'departmental' engines, something more # hierarchical. # # The example also binds reciprocally engines. If the delegated processes # are always 'forgotten', one could imagine not binding the source engine # as a participant in the target engine (not need to answer back). @@ -103,10 +103,10 @@ # class EngineParticipant include LocalParticipant - def initialize (opts=nil) + def initialize (opts) if pa = opts['storage_path'] require pa end