box-o-sand/oldstuff/lrthw-remnants/ex13.rb

10 lines
263 B
Ruby
Raw Normal View History

2012-02-25 16:59:56 +00:00
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}"
2012-02-25 17:01:36 +00:00
print "And your fourth is?: "
puts "That's right, it's #{STDIN.gets.chomp}"