From: Kalman Noel Date: 2007-01-19T05:45:06+09:00 Subject: Re: auto assign arguments? David Chelimsky: > One thing I'd love to see in a future version of ruby is this; > > def initialize(@thing, @other) > end Try the following. Note that it does not actually set @thing and @other - they are only accessible methodically - but gives you an appropriate #initialize. Klass = Struct.new(:thing, :other) class Klass # more end Kalman