What's the point of ARGV in Ruby?
问题 What's the point of ARGV in 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}" What's the point of this when to run the file I need to do: ruby ex1.rb and to put in the first, second and third variables I need to type in ruby ex1.rb blah blah blah How does this benefit at all the person running the program? They can't do it anyway since I'd assume it be