[MacRuby] #214: hotcocoa timer mapping could have default :target => self
#214: hotcocoa timer mapping could have default :target => self -------------------------------------+-------------------------------------- Reporter: drnicwilliams@… | Owner: lsansonetti@… Type: enhancement | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: hotcocoa -------------------------------------+-------------------------------------- Can we have :target => self as a default if :selector is set? -- Ticket URL: <http://www.macruby.org/trac/ticket/214> MacRuby <http://macruby.org/>
#214: hotcocoa timer mapping could have default :target => self -------------------------------------+-------------------------------------- Reporter: drnicwilliams@… | Owner: lsansonetti@… Type: enhancement | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: hotcocoa -------------------------------------+-------------------------------------- Comment(by lsansonetti@…): Rich, could you comment this bug? (For a strange reason trac doesn't allow me to reassign the bug to you, you're not in the combo list.) -- Ticket URL: <http://www.macruby.org/trac/ticket/214#comment:1> MacRuby <http://macruby.org/>
#214: hotcocoa timer mapping could have default :target => self -------------------------------------+-------------------------------------- Reporter: drnicwilliams@… | Owner: lsansonetti@… Type: enhancement | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: hotcocoa -------------------------------------+-------------------------------------- Comment(by rich@…): :target => self would not work because its the caller of the method you are trying to get a reference to. Using :target => self would point the target at the self when the defaults were created, which is not the caller. -- Ticket URL: <http://www.macruby.org/trac/ticket/214#comment:2> MacRuby <http://macruby.org/>
#214: hotcocoa timer mapping could have default :target => self -------------------------------------+-------------------------------------- Reporter: drnicwilliams@… | Owner: lsansonetti@… Type: enhancement | Status: closed Priority: minor | Milestone: Component: MacRuby | Resolution: wontfix Keywords: hotcocoa | -------------------------------------+-------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => wontfix Comment: Closing. -- Ticket URL: <http://www.macruby.org/trac/ticket/214#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby