ruby-changes:9103
From: knu <ko1@a...>
Date: Thu, 11 Dec 2008 20:37:52 +0900 (JST)
Subject: [ruby-changes:9103] Ruby:r20640 (ruby_1_8): * lib/generator.rb (Enumerator#__generator): Now that
knu 2008-12-11 20:37:38 +0900 (Thu, 11 Dec 2008) New Revision: 20640 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20640 Log: * lib/generator.rb (Enumerator#__generator): Now that Enumerator::Generator is defined, the Generator here must be referred to as ::Generator. Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/lib/generator.rb Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 20639) +++ ruby_1_8/ChangeLog (revision 20640) @@ -1,3 +1,9 @@ +Thu Dec 11 20:36:26 2008 Akinori MUSHA <knu@i...> + + * lib/generator.rb (Enumerator#__generator): Now that + Enumerator::Generator is defined, the Generator here must be + referred to as ::Generator. + Thu Dec 11 19:33:10 2008 Akinori MUSHA <knu@i...> * enumerator.c (enumerator_initialize): Add an ability to generate Index: ruby_1_8/lib/generator.rb =================================================================== --- ruby_1_8/lib/generator.rb (revision 20639) +++ ruby_1_8/lib/generator.rb (revision 20640) @@ -167,7 +167,7 @@ class Enumerator def __generator - @generator ||= Generator.new(self) + @generator ||= ::Generator.new(self) end private :__generator -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/