[MacRuby] #999: Handle Obj-C protocols better in MacRuby

MacRuby ruby-noreply at macosforge.org
Mon Nov 22 15:09:23 PST 2010


#999: Handle Obj-C protocols better in MacRuby
----------------------------------------+-----------------------------------
 Reporter:  martinlagardette@…          |        Owner:  lsansonetti@…        
     Type:  enhancement                 |       Status:  closed               
 Priority:  major                       |    Milestone:                       
Component:  MacRuby                     |   Resolution:  fixed                
 Keywords:  0.8                         |  
----------------------------------------+-----------------------------------
Changes (by eloy.de.enige@…):

  * keywords:  => 0.8
  * status:  new => closed
  * resolution:  => fixed


Comment:

 After some more discussion we decided to override conformsToProtocol: on
 RubyObject, the superclass of all pure Ruby classes. This implementation
 will check if the object/class implements the required protocol methods.

 This has been committed in r4930, please give it a try (or the next
 nightly).

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/999#comment:7>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list