Hello Everybody,
I just mentioned an error in the documentation as extracted by ri. So my
question is, where is the correct place to make corrections. Is it
possible to do so. Does there exist a collaborative documentation
approach? (I think someone mentioned it some time before).
I'll post the error also here, even though I'm shure it is not the right
place for it. But I'm lazy ;).
bschroed@black:~/uni/onlinealgo $ ri Enumerable.min
--------------------------------------------------------- Enumerable#min
....
a = %w(albatross dog horse)
a.min #=> "albatross"
a.max {|a,b| a.length <=> b.length } #=> "dog"
The last line should either be a.min ..., or the result should be albatross.
A note on the existence of max would also be nice.
Greetings,
Brian
···
--
Brian Schröder
http://www.brian-schroeder.de/