[MacRuby] #1428: Enumerator#count is missing
MacRuby
ruby-noreply at macosforge.org
Sun Dec 11 03:24:39 PST 2011
#1428: Enumerator#count is missing
--------------------------------+-------------------------------------------
Reporter: lastobelus@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
{{{
# ruby 1.9.2
[].each.count
NoMethodError: undefined method `count' for #<Enumerator:0x2000fc9a0>
# macruby
[].each.count
=> 0
}}}
however, there is an {{{ _count }}} method
this breaks the pry gem [http://pry.github.com/]
--
Ticket URL: <http://www.macruby.org/trac/ticket/1428>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list