From: Rupert B. <rup...@fr...> - 2008-04-20 10:31:47
|
Thanks for the pointer. Rup Le 19 avr. 08 à 04:50, Scott Thompson a écrit : > > 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 > > |