From: Sebastian Hungerecker Date: 2009-06-21T01:47:31+09:00 Subject: Re: 'move into' a module's namespace in irb Am Samstag 20 Juni 2009 18:36:46 schrieb David A. Black: > On Sun, 21 Jun 2009, Max Williams wrote: > > I thought that > > > > "hello" > > > > was the same thing as > > > > String.new("hello") > > > > , though? Or, does it bypass the usual lookup table for methods? > > It bypasses. And if it didn't, it would very likely be the same thing as ::String.new("hello"), not String.new("hello"), i.e. it would use the full path to the constant, not the relative path, to avoid ambiguity. At least I would consider anything else to be confusing.