[MacRuby-devel] macruby command in console

Caio Chassot lists at caiochassot.com
Wed Jan 19 15:17:04 PST 2011


On 2011-01-19, at 20:55 , Robert Rice wrote:
> 
> Entering macruby by mistake on the console command line instead of macirb gets no reply. The user must type ctrl-C to abort it.
> 
> Probably macruby should reply with usage information and exit.

Not really. macruby is expecting input. If you type a program there and ^D, it'll run.

$ macruby
puts 'hi'
^D
hi



More information about the MacRuby-devel mailing list