Am Montag, den 12.07.2010, 16:58 +0900 schrieb John Mettraux: 
> 2010/7/12 Torsten Schönebaum <[email protected]>:
> > 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.
> 
> for now, I was thinking about "letting it break fast".

Having thought about that, I believe you're right, even without the
quotation marks ;-) Voting for a nice exception message now.

Yours,
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