You can find the command line parameters in the global ARGV array. If ruby newrest.rb 22 will do then just id = ARGV[0] response = RestClient.get ...
確定! 回上一頁