On 8/24/05, Mark Volkmann <r.mark.volkmann / gmail.com> wrote:
> The way to determine the names of the attributes of objects created
> from a Class, Struct and OpenStruct are all different.
> 
> For an object created from a Class you call "instance_variables". I
> wish that method would have been named "attributes".

Attributes are not the same as instance variables. Attributes really
are code wrappers around instance variables for controlled (and
customized) access.

Attributes may or may not have a related instance variable; and vice versa.

-- 
Mohit Muthanna [mohit (at) muthanna (uhuh) com]
"There are 10 types of people. Those who understand binary, and those
who don't."