Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def greeting
- ARGV.each do |arg|
- if ARGV.index(arg) > 0
- puts "#{ARGV[0]} #{arg}!"
- end
- end
- end
- greeting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement