On 28/01/2011, at 2:46 AM, Eloy Durán wrote:

> 
> In your example ‘theProjectRoot’ is not a parameter to the block, that's ‘f’. 
> It could have been a local variable (or method) outside of the block, but 
> that isn't so either, the one variable you defined that comes close is the 
> instance variable named ‘@theProjectRoot’.

Or, to paraphrase, '@theProjectRoot' and 'theProjectRoot' are not the same 
variable. This trips me up quite often too :)


Henry


_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to