Gregory Seidman
3/6/2008 6:34:00 PM
On Fri, Mar 07, 2008 at 03:25:40AM +0900, Sebastian Hungerecker wrote:
> Daniel Mendler wrote:
> > Is there a
> > difference between using the double colon operator or a module block?
>
> No, there is not.
Yes, there is.
If module A is not defined, then the following will fail:
module A::B
#...
end
...whereas the following will simply define module A...
module A
module B
#...
end
end
--Greg