Can't do Enumerator#next in --1.9? Not implemented yet?
-------------------------------------------------------
Key: JRUBY-3956
URL: http://jira.codehaus.org/browse/JRUBY-3956
Project: JRuby
Issue Type: Bug
Components: Ruby 1.9
Affects Versions: JRuby 1.4
Environment: OSX 10.6, Java 1.6.0_15
Reporter: John Norman
Assignee: Thomas E Enebo
Um, not implemented yet?
jgn:jruby~main jgn$ jruby --1.9 -S jirb
irb(main):001:0> a = [1, 2, 3]
=> [1, 2, 3]
irb(main):002:0> e = a.to_enum
=> #<Enumerator: [1, 2, 3]:each>
irb(main):003:0> e.next
LoadError: no such file to load -- generator
from (irb):4:in `next'
from (irb):4
irb(main):004:0>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email