From: polypus Date: 2006-05-04T05:54:05+09:00 Subject: Re: Mixin Syntax for Newbies >...super classes, though I'm having a little trouble with my first googlings about how to use inheritance... something like? class X attr_reader :foo, :bar def initialize @foo, @bar = :mama, :papa end end class Y < X end y = Y.new puts y.foo, y.bar -- Posted via http://www.ruby-forum.com/.