Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
'move into' a module's namespace in irb
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Max Williams, post: 4642288"] 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? #here, "hello" and String.new are the same class=> String #here, they're not the same class=> M::String It looks like the core String and the module's version are colliding in a weird way. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
'move into' a module's namespace in irb
Top