From: Robert Klemme Date: 2011-10-21T21:49:27+09:00 Subject: Re: When is a method known to Ruby? On Fri, Oct 21, 2011 at 2:45 PM, Josh Cheek wrote: > On Fri, Oct 21, 2011 at 6:30 AM, Robert Klemme > wrote: > >> >> Frankly, I cannot see any difference (didn't try diff though).  Did >> you really post what you tested? >> > In the first example, Foo.foo is defined before it is called in CONSTANT_2's > initialization. In the second, CONSTANT_2 is initialized with Foo.foo before > it is defined. Thanks for helping my feeble eyes, Josh! ;-) Now I see it, too. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/