ITP - more stuff - passing block 2

Let's make this more complex. Say we wanted to pass an argument to the
method as well.

def take_block(number, &block)
  block.call
end

[1, 2, 3, 4, 5].each do |number|
  take_block number do
    puts "Block being called in the method! #{number}"
  end
end

Here we are passing the current number of the iteration of the array
into the take_block method and using it in our block.call. You can see
the amount of flexibity and the myriad of possibilities that come into
play when using blocks.