On Sat, Sep 1, 2012 at 3:30 PM, Bob Hutchison <[email protected]> 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/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
