[MacRuby] #1081: API function for loading RBO files from Objective-C environment
MacRuby
ruby-noreply at macosforge.org
Mon Dec 27 10:13:33 PST 2010
#1081: API function for loading RBO files from Objective-C environment
------------------------------------------+---------------------------------
Reporter: justin@… | Owner: lsansonetti@…
Type: enhancement | Status: new
Priority: minor | Milestone: MacRuby 0.8
Component: MacRuby | Keywords: api rbo
------------------------------------------+---------------------------------
Currently there is no direct method for loading an RBO file from
Objective-C. It can be done using an approach like this:
MacRuby sharedRuntime] evaluateString:[NSString stringWithFormat:@"require
'%@'", filename]];
But a more direct method would be nice. Either allowing
evaluateFileAtPath to accept an RBO file or creating a new function.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1081>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list