[MacRuby] #1428: Enumerator#count is missing

MacRuby ruby-noreply at macosforge.org
Sun Dec 11 11:08:02 PST 2011


#1428: Enumerator#count is missing
--------------------------------+-------------------------------------------
 Reporter:  lastobelus@…        |       Owner:  lsansonetti@…        
     Type:  defect              |      Status:  new                  
 Priority:  blocker             |   Milestone:                       
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------

Comment(by watson1978@…):

 Currently, #count method is implemented as #_count.

 https://github.com/MacRuby/MacRuby/blob/master/enum.c#L2047-2054
 {{{
 $ macruby -e 'p [].each._count'
 0
 }}}

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



More information about the macruby-tickets mailing list