| Start | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Basic Usage IRB means "Interactive Ruby Shell", letting us execute ruby expressions from the standart input. To start, type to complex cases like methods: |
||||||||||||||||||||||||||||||||||||||||||||
| Starting an IRB session inside a Ruby script As of Ruby 2.4.0, you can start an interactive IRB session inside any Ruby script using these lines: This will start an IBR REPL where you will have the expected value for This can be very useful for debugging. Parameters
|
Read Article
https://develop.horje.com/learn/1434/reference