Dave Thomas
11/22/2004 9:14:00 PM
On Nov 22, 2004, at 15:01, Brian Schröder wrote:
> Another Thing I noticed. (I checked against the documentation at
> ruby-doc org. I hope that is the newest version.)
> k.methods[0..9] #=> ["kMethod", "freeze", "nil?", "is_a?",
> "class", "instance_variable_set",
> "methods", "extend", "<em>send</em>",
> "instance_eval"]
> k.methods.length #=> 42
>
> k.methods[0..9]
> ==>["clone", "protected_methods", "kMethod", "freeze",
> "instance_variable_set", "is_a?", "type", "methods", "method", "=~"]
> k.methods.length
> ==>41
>
The documentation is correct, but the list of methods in Object has
changed.
As a matter of interest, are the ruby-doc folks now maintaining the
documentation?
Cheers
Dave