From: "David A. Black" Date: 2009-08-22T23:28:09+09:00 Subject: Re: Where oh where is Enumerator? (1.9) Hi -- On Sat, 22 Aug 2009, Intransition wrote: > Err... in Ruby 1.9 is Enumerator at the toplevel or in the Enumerable > namespace? Seems to me it was moved to the toplevel at one point, but > now it looks like it's in Enumerable again... then again I may have > that all backwards. Can someone confirm? I don't think it's back in Enumerable: irb(main):007:0> RUBY_DESCRIPTION => "ruby 1.9.2dev (2009-08-22 trunk 24620) [i686-linux]" irb(main):008:0> Enumerable::Enumerator NameError: uninitialized constant Enumerable::Enumerator from (irb):8 from /usr/local/lib/ruby-snapshot/bin/irb:12:in `
' irb(main):009:0> Enumerable => Enumerable (Courtesy of ruby-versions.net and its nightly trunk snapshots :-) David -- David A. Black / Ruby Power and Light, LLC / http://www.rubypal.com Q: What's the best way to get a really solid knowledge of Ruby? A: Come to our Ruby training in Edison, New Jersey, September 14-17! Instructors: David A. Black and Erik Kastner More info and registration: http://rubyurl.com/vmzN