From: Scott T. <ea...@ma...> - 2008-04-19 02:50:29
|
On Apr 18, 2008, at 6:39 PM, Rupert BARROW wrote: > Hi, > > Is there a useful sample showing how to receive and use command-line > argument in Ruby code in RubyCocoa ? > How do argc and argv pass the rb_main_init ? If you are using RBApplicationMain or RBApplicationInit then the arguments should be in the standard Ruby "ARGV" array. http://www.rubycentral.com/pickaxe/rubyworld.html Scott |