From: Robert Klemme Date: 2012-09-01T23:49:41+09:00 Subject: Re: Constructor or a Method On Sat, Sep 1, 2012 at 3:30 PM, Bob Hutchison wrote: > Since you are not doing anything special, use idiomatic Ruby: > > ======== [CODE] ======= > def Customer > attr_accessor :name > end > ======================= And there's an even shorter way to do this Customer = Struct.new :name Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/