From: Jeff Miller Date: 2008-05-19T11:05:45+09:00 Subject: defining a variable from the command prompt hello, I have a script that sends emails out to my company, and I would like to be able to run it by saying (from the command prompt): sendemail.rb "this is my message" then it would take "this is my message" and use that as @msg or something. I know its possible, but I'm still pretty new to Ruby and not sure how to do this. Any help is appreciated! Thanks, - Jeff Miller -- Posted via http://www.ruby-forum.com/.