[MacRuby] #1428: Enumerator#count is missing
MacRuby
ruby-noreply at macosforge.org
Sun Dec 11 04:10:22 PST 2011
#1428: Enumerator#count is missing
--------------------------------+-------------------------------------------
Reporter: lastobelus@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Comment(by lastobelus@…):
sigh, labelled those backwards:
{{{
# macruby
[].each.count
NoMethodError: undefined method `count' for #<Enumerator:0x2000fc9a0>
# ruby 1.9.2
[].each.count
=> 0
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1428#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list