Subject: include inside and outside classes
From: "John Ky" <newhoggy gmail.com>
Date: Sun, 15 Oct 2006 10:09:07 +0900
Hi,
Why is it that when I can do this:
> include Math
> puts sqrt(169)
I can't do this?:
> class X
> include Math
> puts sqrt(169)
> end
Does include do different things depending on where it is use? Is it
even the same include?
Thanks
-John