John wrote:

[about configuration in RuoteKit]

> All is good, but IMO, ruote's configuration is sufficiently easy and
> convenient not to be hidden.
> 
>   RuoteKit.engine = Ruote::Engine.new(
>     Ruote::Worker.new(
>       Ruote::FsStorage.new('ruote_work')))
>   RuoteKit.engine.register do
>     participant "alpha", MyAlphaParticipant, :flavour => 'vanilla'
>     catchall
>   end
> 
> The convention here is that the engine is located in the RuoteKit.engine 
> 'singleton'.
> 
> The trick here is that I will port the register block configuration
> from ruote-kit to ruote.
> 
> Comments ?

In my opinion, this is a great idea. I would suggest a default fallback
if the user forgets to set RuoteKit.engine, though.

Thanks,
Torsten

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to