From: Martin DeMello Date: 2008-03-13T04:59:26+09:00 Subject: Re: Get OpenStruct attributes On Wed, Mar 12, 2008 at 12:04 PM, Ed Hames wrote: > Dear rubyists, > > What's the best way to get the list of attributes of an OpenStruct? A bit hackish, but object.methods(nil).grep /[^=]$/ martin