Skip to content

Instantly share code, notes, and snippets.

@stevehodgkiss
Forked from joelg/hello_loop.rb
Created May 24, 2010 08:48
Show Gist options
  • Save stevehodgkiss/411661 to your computer and use it in GitHub Desktop.
Save stevehodgkiss/411661 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
def hello_loop(*names)
names.each do |name|
puts "Hello #{name}"
end
end
hello_loop("Gafitescu", "D_Roch", "Steven Ng", "n0x13", "hosheng", "Pratik Desal", "r kumar", "Ashley Moran", "persiancoffee", "Andre Fischer")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment