IRB
IRB stands for "Interactive Ruby." It is a popular interactive shell or console for the Ruby programming language.
Basic Usage
For multi-line code input or code blocks, you can use the following syntax:
irb(main):001:0> <<~CODE
irb(main):002:0" def greeting(name)
irb(main):003:0" "Hi, " + name
irb(main):004:0" end
irb(main):005:0" CODE
How to extract files using IRB






Last updated