27 Jan
2011
27 Jan
'11
9:58 p.m.
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