On Thu, 07 Nov 2013 09:52:44 -0500 Robert Carl Rice <rice.audio@pobox.com> wrote:
Hi David,
The implementation of Grand Central Dispatch in MacRuby works great and I converted all of calls to NSTimer to GCD. It probably has enough functionality to avoid any Kludgy solution, e.g., calling Unix fork directly or AppleScript.
That's not what he's asking, at least I don't think. He wants to use straight Objective C for his UI and to use ordinary Ruby for his application logic. Perry
On Nov 7, 2013, at 4:20 AM, david kramf <dakr.012@gmail.com> wrote:
Hi Guys,
I have a project that written in MacRuby but I can split the code to logic in Ruby and the UI which I can translate to Objective-C . So My problem is how to run a pure Ruby from my app. I was thinking of opening an AppleScript terminal and running IRB there . Has anyone tried it? Do you have a better easier idea ? Is it doable ?? Thnks, David Kramf
-- Perry E. Metzger perry@piermont.com