From: Hal Fulton Date: 2005-04-19T11:19:08+09:00 Subject: Re: object.["somepropertyOrmethod"] == object.somepropertyOrmethod ? itsme213 wrote: > "falcon" wrote in message > news:1113841085.371559.282020@g14g2000cwa.googlegroups.com... > >>Does Ruby allow javascript like invocation of methods (or access to >>properties) like this: >>someProperty = "nameOfStudent" >>Object[someProperty] >> >>rather than just Object.nameOfStudent? > > > Hal's SuperStruct will fit the bill. > But if you try it, be aware it has bugs. And if you see them, please report. Hal