From: Rupert Voelcker Date: 2009-01-30T21:41:46+09:00 Subject: Re: Creating a ruby class with mass assignment > What is the best way of achieving mass assignment whilst still allowing > to initialize without parameters? def initialize(args = {}) args.keys.each { ....... } end