Kalman

Thanks.  Using a constant worked.  Any ideas about the second part of 
the question?

Rand

Kalman Noel wrote:
> Rand Waltzman wrote:
>> I load this file from the irb using: load 'test.rb'
>> [...]
>> NameError: undefined local variable or method `jello' for main:Object
>>         from (irb):2
> 
> Local variables are local to a file. Use a constant (Jello) or an 
> instance
> variable of the main object (@jello).
> 
> Kalman


-- 
Posted via http://www.ruby-forum.com/.