ara.t.howard wrote: > On Oct 13, 2007, at 4:04 PM, James Golick wrote: > >> @@options >> assert_equal "something", Post.options.something >> Post.options do >> self.something = "something" >> self.something_else = "something_else >> end >> >> ...which defeats the entire purpose of the shorthand. >> >> Anybody have any ideas? >> -- >> Posted via http://www.ruby-forum.com/. > require 'attributes' ### gem install attributes > Post.options do > something "something" > something_else "something_else" > end Thanks a lot. That's really nice. We lose the equals sign though. I'll gladly keep this, if need be, but I'd really like to keep the equals sign. Is it possible? -- Posted via http://www.ruby-forum.com/.