[Greenbar-developers] Problem with the latest 'now' approach.

Kiel Hodges kielhodges at mindspring.com
Fri Apr 28 06:05:43 EDT 2006


make_Time_now_return Time.local(1, 2, 3, 4, 5)


On Thu, 2006-04-27 at 20:40, David Corbin wrote:
> When used in a real test, you can't say "now = Time.local(1,2,3,4,5)", because 
> that is interpreted as a local variable assignment.  You have to do "self.now 
> = ...".
> 
> It's ugly.  
> 
> Ideas?
> _______________________________________________
> Greenbar-developers mailing list
> Greenbar-developers at rubyforge.org
> http://rubyforge.org/mailman/listinfo/greenbar-developers



More information about the Greenbar-developers mailing list