From: Yusuke ENDOH Date: 2011-06-12T20:23:46+09:00 Subject: [ruby-core:37054] Re: [Ruby 1.9 - Bug #4757][Open] Attempt to make Enumerator docs more clear (patch included) Hello, 2011/6/12 Tanaka Akira : > 2011/5/25 Yusuke Endoh : > >> - * Note that enumeration sequence by next_values method does not affect other >> - * non-external enumeration methods, unless underlying iteration >> - * methods itself has side-effect, e.g. IO#each_line. >> + * Note that enumeration sequenced by +next_values+ does not affect other >> + * non-external enumeration methods, unless underlying iteration methods >> + * itself has side-effect, e.g. IO#each_line. >> >> I cannot undestand what "enumeration sequence by next_values" is. >> This is a problem of the original rdoc, not yours, though. >> It might be good to remove "enumeration sequence by". >> >> The old rdoc was written by akr. �Akr, what did you mean? > > For example, next_values doesn't affect Array#each as follows. Ah, I know the behavior. What I couldn't understand is just what "enumeration sequence by next_values" is. Just English problem. It is strange for me that the results returned by the method ("enumeration sequence by next_values") may affect Array#each. I think that the subject that may affect Array#each is a method ("next_value"), in this case. I can understand "next_values doesn't affect Array#each". So, "enumeration sequence by" is not needed, right? -- Yusuke Endoh