On Wed, Jun 23, 2010 at 10:51:00AM -0400, Rich Meyers wrote:
> 
> I noticed that some files required their dependencies and some did not.
> This was an attempt to get every .rb file in ruote to be require-able
> successfully in isolation.

Hello Rich,

understood.

Expression classes are never used in isolation (maybe the need could arise one 
day), not even for unit testing. Expressions are always tested in a functional 
setting (test/functional/eft_*.rb). They are required via the ExpressionMap :

  
http://github.com/jmettraux/ruote/blob/ruote2.1/lib/ruote/exp/expression_map.rb#L32-42

where I make sure to require 'ruote/exp/flowexpression' right before.

Thanks anyway for this patch, many thanks for all the other patches ( 
http://github.com/jmettraux/ruote/commits/ruote2.1/ ).


Best regards,

-- 
John Mettraux - http://jmettraux.wordpress.com

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