[MacRuby-devel] [MacRuby] #169: [HotCocoa] status_item mapping doesn't appear to work
MacRuby
ruby-noreply at macosforge.org
Sat Nov 29 16:11:17 PST 2008
#169: [HotCocoa] status_item mapping doesn't appear to work
--------------------------------+-------------------------------------------
Reporter: chris@… | Owner: rich@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Comment(by vincent.isambart@…):
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/>
More information about the MacRuby-devel
mailing list