From: Max Williams Date: 2009-06-21T01:05:23+09:00 Subject: Re: 'move into' a module's namespace in irb aha...i was just playing with this in irb and found something puzzling - would you mind, while we're on this subject, explaining it to me? >> module M; class String; def how_long; "could be anything"; end; end; end #here, "hello" and String.new are the same class >> include M => Object >> "hello".class => String >> String.new.class => String #here, they're not the same class >> irb M >> "hello".class => String >> String.new.class => M::String It looks like the core String and the module's version are colliding in a weird way. -- Posted via http://www.ruby-forum.com/.