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: 4642285"] Hi David Yeah, i use irb inside irb a lot, it's really useful when i'm puzzling over an instance method for example (usually in the rails console). It didn't occur to me to use it here (obviously). Using 'include' seems better in this case as i still have the more general scope - i'm using irb in this case like i would normally use the rails console, but using Thoth (a framework for blogs) rather than Rails. So, including the module rather than moving into it seems more like my general app environment, which i guess is what you want in a console like this. Would you agree? Thanks max [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
'move into' a module's namespace in irb
Top