A complete overview of blocks, block references, and procs. — Feel free to have a look at The yield Keyword in Ruby if you’re not familiar the yield keyword and block arguments. The Ampersand Colon (&:) operator Ruby proposes a shorthand to call a method on a block argument [1, 2, 3].map(&:to_f) # => [2.0, 4.0, 6.0] Is equivalent to [1, 2, 3].map { |x|…