When I am in irb or in rails and I create some iteration with each, I am getting the whole struct printed again in my terminal or inside the browser. Example:>
each
Run it outside irb, and you shall be enlightened.
irb
ruby -e `[1,2,3,4].each {|ele| puts ele}`