#169: [HotCocoa] status_item mapping doesn't appear to work --------------------------------+------------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: [EMAIL PROTECTED] Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: --------------------------------+-------------------------------------------
Comment(by [EMAIL PROTECTED]): The code works if either: * "include HotCocoa" is done not in a class, but at the top level (it's probably why this was not seen earlier). It works because then all the HotCocoa methods become available to '''all''' objects * you add "include HotCocoa" in HotCocoa::Mappings::Mapper as alloc_with_options is run on an instance of HotCocoa::Mappings::Mapper -- Ticket URL: <http://www.macruby.org/trac/ticket/169#comment:4> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel