Ruby Rogues
The Hidden Gems of Ruby - RUBY 651
Valentino Stoll
So when you're in the IRB console itself, you just run IRB and then the object. So if you did, you know, string new and you just said IRB string new, you can enter inside the instance of a string and play with all the methods. You don't have to do the string's object name as a variable and then dot whatever. You just enter the method.
0
💬
0
Comments
Log in to comment.
There are no comments yet.