This is great Jean-Denis, thanks a lot.
A few notes, if you look at: https://github.com/jdmuys/MacRubyReload/blob/master/MacRubyReload/AppDelegate.rb#L17-18
You don't need to end your lines of code by a semi colon and when using puts, a return carriage is automatically used (use print if you don't want that behavior).

- Matt

On Tue, Nov 15, 2011 at 3:01 PM, Jean-Denis MUYS <jdmuys@kleegroup.com> wrote:
Following up on my Friday suggestion, I am happy to announce that I implemented a first version a Xcode MacRuby projects that dynamically reloads Ruby source code into a running application, allowing for a very dynamic incremental programming style.

go to https://github.com/jdmuys/MacRubyReload to download the project. The ReadMe.markDown text file gives full instructions.

Hopefully MacRuby Xcode templates can evolve to automatically provide a similar facility.

This is all very simple and very primitive. There is a lot of room for improvement. I also apologize for my Ruby style: I probably haven't written more than 100 or so lines of Ruby code overall yet.

I hope this gets the ball rolling.

Jean-Denis

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel