From: jweirich@... Date: 2001-09-16T13:19:01+09:00 Subject: [ruby-talk:21253] Re: Instance variables of an objecta >>>>> "Brian" == Brian F Feldman writes: >> Given an object, is there a way of getting a list of the instance >> variables in that object? Brian> As in: Brian> irb(main):004:0> o.instance_variables Brian> ["@y", "@x"] Brian> ? Thanks. For some reason I couldn't find it. -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)