[Ruby] eval question

Aaron Patterson aaron at tenderlovemaking.com
Mon Apr 30 14:40:06 PDT 2007


On Mon, Apr 30, 2007 at 03:05:08PM -0700, Ryan Davis wrote:
> 
> On Apr 30, 2007, at 13:09 , Aaron Patterson wrote:
> 
> > In this code, 'easy_lover' is defined, but for some reason
> > 'phil_collins' is not.  First, why is that?  Second, can I make it so?
> > You can have Easy Lover without Phil!
> 
> What version of ruby??

1.8.6

It seems to work in irb, but if I put it in a file, it doesn't work!

-- 
Aaron Patterson
http://tenderlovemaking.com/


More information about the Ruby mailing list