From: Tim B. <tim...@gm...> - 2006-07-31 02:19:18
|
Alberto, You may have built a console of your own by now, but if you're still looking for one, I have an embedded Ruby console that I've been using for a few months. I spent some time cleaning it up last week and finally think it's in good enough shape to share. It's described in an article that I posted today: http://www.rubycocoa.com/mastering-cocoa-with-ruby The console runs in the same thread as the rest of the application, so you will mainly want to use it to create and configure objects (long-running calls will lock up your app), but because it's in the same thread, you won't have to worry so much about crashing the AppKit. It's a lot of fun to use, and it's an amazingly helpful tool for learning Cocoa. Tim p.s. Jonathan's advice on how to do this was right on target. On 6/13/06, Psychotron <psy...@fa...> wrote: > I think can be useful to have a Debug panel with access to an irb > console. > As using the console in a Rails application, i see lot of fun > interacting in with cocoa components in runtime and thus learning... > But how connect the input and output of IRB to an NSTextView? > > -- > Alberto Careccia - http://www.en0.org > "The only thing that I know is that I don't know anything" -Socrates > > > > > > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > |