#409: Attribute setter should be accepted as KVO setter
---------------------------------+------------------------------------------
 Reporter:  neerac...@…          |       Owner:  lsansone...@…        
     Type:  enhancement          |      Status:  new                  
 Priority:  minor                |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------
 MacRuby rev 2903:

 {{{
 class A
   attr_reader :a, :b
   def setA(value)
      @a = value
   end
   def b=(value)
      @b = value
   end
 end
 a = A.new
 a.setValue("hey", forKey:"a")
 p a
 a.setValue("yo", forKey:"b")
 p.a
 }}}

 It would be nice if the ruby style setter worked for KVO as well.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/409>
MacRuby <http://macruby.org/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to