Topic: ruby scripts.rb with args
I can not find any informations about scripting in ruby on rails.
What I need is, to put an argument to script like
#ruby script.rb arg
I am not sure how to call this argument inside this script
Thanks
You are not logged in. Please login or register.
I can not find any informations about scripting in ruby on rails.
What I need is, to put an argument to script like
#ruby script.rb arg
I am not sure how to call this argument inside this script
Thanks
puts ARGV[0] # etc
I can not find any informations about scripting in ruby on rails.
RoR scripts? Ruby scripts I think
Hosting provided by aTech Media