Skip to content

Instantly share code, notes, and snippets.

@sublimecoder
Created September 4, 2015 23:04
Show Gist options
  • Save sublimecoder/088ceef583f96a6f1242 to your computer and use it in GitHub Desktop.
Save sublimecoder/088ceef583f96a6f1242 to your computer and use it in GitHub Desktop.
toppings = %w(pepperoni mushroom bacon pineapple)
def pizza(toppings)
toppings.map do |topping|
puts "I love #{topping} pizza!"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment