Reformatted excerpts from _why's message of 2008-09-10:
> Beyond that, you can pass in arguments to the Shoes app by placing
> them after the double-dash:
> 
>   $ ./shoes testargv.rb -- -1
>   ["testargv.rb", "-1"]

I still find it weird that ARGV contains the script name. I would expect
to find it in __FILE__ and $0 instead, like ruby has it. (Same complaint
about camping, FWIW.)
-- 
William <[EMAIL PROTECTED]>

Reply via email to