From: Chris Shea Date: 2007-11-20T09:35:02+09:00 Subject: Re: Assignment without attr= > So, I'd want to work with it like this: > whatever = PackedNumber.new('12345') If that's all you want, you can do this: class PackedNumber def initialize(string) @packednumber = string end end HTH, Chris