Nikolai Weibull
3/17/2005 8:54:00 PM
* Eric Hodel (Mar 17, 2005 19:00):
> > 1. Object#[] doesn't get documented, at least not in C sources.
> $ ruby Object.new.[] -:1: undefined method `[]' for #<Object:0x133bd4>
> (NoMethodError)
Badly written, sorry. Object was supposed to be <object>, as in any
object, not necessarily an instance of the Object Class. I don't know
what I was thinking when I wrote it. What I meant was that it doesn't
get linked in a description text for a method, i.e.,
/*
* call-seq:
* ...
*
* Blah, blah, PieceTree#[], blah, blah, ...
*/
The 'PieceTree#[]' doesn't wind up as a reference to that method,
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: minimalistic.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}