In the next few sections, we are going to cover the map method, which is a popular iteration method used by Ruby developers on a regular basis due to its flexibility and usefulness.
For this guide, I'm going to use the irb environment to show you the different environments available for Ruby. If you want to use this environment too, simply type irb in your Terminal. Alternatively, you can also use repl.it if you prefer.
This is how you can access Interactive Ruby Shell (irb):