# As expected the output is the key, then the value...
({ :key => :value, :foo => :bar }).reduce([]) { |pass_through, item|
puts item
}
# key
# value
# foo
# bar
# The following example is better, as we get the key AND value passed through at once...
({ :key => :value, :foo => :bar }).reduce([]) { |pass_through, (item_key, item_val) |
puts "#{item_key} / #{item_val}"
}
# key / value
# foo / bar