Re: [MacRuby] #670: A more idiomatic rb_main for MacRuby applications
#670: A more idiomatic rb_main for MacRuby applications ---------------------------------+------------------------------------------ Reporter: dev@… | Owner: lsansonetti@… Type: enhancement | Status: new Priority: trivial | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by dev@…): It seems I was wrong in expecting require not to require the main file again: While `require` won't reload a file that's already been required, rb_main is never "required": as the main file, it's just "run", hence not in `$"`, and therefore prone to be loaded again by `require`. So I'm cleverly ditching rb_main from the require list again. Maybe too cleverly for this patch to still make sense. -- Ticket URL: <http://www.macruby.org/trac/ticket/670#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby