"Ralph Mason" <ralph.mason / telogis.com> writes:

> Things like a Meta Classes methods are the methods it inherited from
> the Class class and it's parent class, it's instance methods are are
> the methods added in it's declaration.
> 
> $_ is not a global variable
> 
> All unscopped code runs in the scope of a global instance of Object.
> 
> class << self can be used to create instance methods for a meta class.

I believe all these are in the PickAxe: http://www.rubycentral.com/book/

> Adding a method to Kernel sees different global variables than
> Kernel.instance_eval

I'm not sure what this one means.


Dave