Open Interactive Ruby
Open up IRB (which stands for Interactive Ruby).
If you’re using macOS open up Terminal and type irb, then hit enter.
If you’re using Linux, open up a shell and type irb and hit enter.
If you’re using Windows, open Interactive Ruby from the Ruby section of your Start Menu.
Open Interactive Ruby in macOS:
With the help of irb command you can open up Interactive Ruby in other platforms
Comments