Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #4278
| From | Robert Klemme <shortcutter@googlemail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Enumerable#find returns an enumerator? |
| Date | 2011-05-11 19:13 +0200 |
| Message-ID | <92vuemFgn8U1@mid.individual.net> (permalink) |
| References | (1 earlier) <27A11B59-1AEB-41F3-A0E0-3BB91AC7156A@gmx.de> <92toltFmedU1@mid.individual.net> <635c009384ea6d830f916df6d4d8f443@ruby-forum.com> <BANLkTinUoGoMhiz8q4+RX02YeKv_7OcwGw@mail.gmail.com> <5a959b8449604bc8dabae9e136ec0cbb@ruby-forum.com> |
On 05/11/2011 02:47 PM, Brian Candler wrote: > Robert K. wrote in post #997944: >> Yes, but that was not the point. I was explicitly talking about the >> semantics of the argument to #find. > > You said: "here documentation is clear. Why do so many people tell > different stories if it is so easy to read this up in documentation?" > > And my answer is: maybe because the documentation is so poor. Ah, OK *now* you said it. > Your example demonstrates this, because ri doesn't mention about > Enumerable#find returning an Enumerator, which is what the original > question was. > > Admittedly, the errors are usually of omission, rather than being > actually wrong. This particular one has been fixed in 1.9.2, but not > backported to 1.8.7p299 (at least) While we talk about omission: I really couldn't figure that from your first posting. :-) Kind regards robert
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Enumerable#find returns an enumerator? Roger Pack <rogerpack2005@gmail.com> - 2011-05-10 13:48 -0500
Re: Enumerable#find returns an enumerator? Chris Hulan <chris.hulan@gmail.com> - 2011-05-10 11:56 -0700
Re: Enumerable#find returns an enumerator? Jeremy Bopp <jeremy@bopp.net> - 2011-05-10 14:12 -0500
Re: Enumerable#find returns an enumerator? Lars Schirrmeister <l.schirrmeister@gmx.de> - 2011-05-10 15:33 -0500
Re: Enumerable#find returns an enumerator? Robert Klemme <shortcutter@googlemail.com> - 2011-05-10 23:23 +0200
Re: Enumerable#find returns an enumerator? Brian Candler <b.candler@pobox.com> - 2011-05-11 03:43 -0500
Re: Enumerable#find returns an enumerator? Robert Klemme <shortcutter@googlemail.com> - 2011-05-11 05:54 -0500
Re: Enumerable#find returns an enumerator? Brian Candler <b.candler@pobox.com> - 2011-05-11 07:47 -0500
Re: Enumerable#find returns an enumerator? Robert Klemme <shortcutter@googlemail.com> - 2011-05-11 19:13 +0200
Re: Enumerable#find returns an enumerator? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-11 15:08 -0500
Re: Enumerable#find returns an enumerator? Brian Candler <b.candler@pobox.com> - 2011-05-13 03:20 -0500
Re: Enumerable#find returns an enumerator? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-10 15:39 -0500
Re: Enumerable#find returns an enumerator? Ryan Davis <ryand-ruby@zenspider.com> - 2011-05-10 18:13 -0500
csiph-web