Skip to content

Instantly share code, notes, and snippets.

@havenwood
Created September 30, 2013 19:15
Show Gist options
  • Save havenwood/533d631071a96aec08f7 to your computer and use it in GitHub Desktop.
Save havenwood/533d631071a96aec08f7 to your computer and use it in GitHub Desktop.
ferr irc
def stuff *args
puts "This is multiplied: #{args.inject :*}"
puts "This is the sum: #{args.inject :+}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment