[MacRuby-devel] [MacRuby] #712: Feature Request: Add Support for C-Level Blocks

MacRuby ruby-noreply at macosforge.org
Thu May 13 12:06:11 PDT 2010


#712: Feature Request: Add Support for C-Level Blocks
-------------------------------+--------------------------------------------
 Reporter:  cwdinfo@…          |       Owner:  lsansonetti@…        
     Type:  enhancement        |      Status:  new                  
 Priority:  blocker            |   Milestone:  MacRuby 0.7          
Component:  MacRuby            |    Keywords:  block                
-------------------------------+--------------------------------------------

Comment(by lsansonetti@…):

 I think only the 1st form should be implemented at the first time. Passing
 the block inline (3rd form) might be a good idea but I'm afraid of
 inconsistencies (since the argument name is no longer passed). Also, it
 wouldn't work if the method accepts 2 blocks.

 2nd solution cannot be implemented easily and I think it's not what users
 would expect (they would expect the method to be called and its return
 value to be passed, not the method itself).

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



More information about the MacRuby-devel mailing list