box-o-sand/ex13.rb
2012-02-25 12:01:36 -05:00

10 lines
263 B
Ruby

first, second, third = ARGV
puts "The script is called: #{$0}"
puts "Your first variable is: #{first}"
puts "Your second variable is: #{second}"
puts "Your third variable is: #{third}"
print "And your fourth is?: "
puts "That's right, it's #{STDIN.gets.chomp}"