From: Timothy Hunter Date: 2006-09-30T09:54:40+09:00 Subject: Re: Getting command line Joe Van Dyk wrote: > Hi, > > If I launch a Ruby process with: > ruby something.rb lots of "stuff here" and I want all 'of it' > > How can I get a string from inside the ruby process with: > lots of "stuff here" and I want all 'of it' > in it? > ARGV is an array of the tokens on the command line that follow the name of the script. If you want them all in one string you can use the join method to join them together. puts ARGV.join(' ')