Re: WTF is Struct? Oh! [was Re: Ruby beginner question 2]

Gavin Kistner <[email protected]>
Newsgroups gmane.comp.lang.ruby.general,gmane.comp.lang.ruby.documentation
Message-ID <[email protected]>
On Aug 22, 2005, at 6:37 AM, Gavin Kistner wrote:
> (These methods are documented below as instance methods of the  
> Struct class, but are in fact methods available to instances of the  
> class returned from the call to Struct.new)

That one sentence should probably read something like:
> (These methods, such as #values, are documented below as instance  
> methods of the Struct class; as the returned class inherits from  
> Struct, they are available instances of the class returned from the  
> call to Struct.new.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.