From: Damphyr Date: 2005-11-21T05:03:16+09:00 Subject: Passing the class as an argument I'm too lazy to figure it out (and a bit hangover). I have several collections of objects (read over an OLE API) that I transform to arrays of ruby objects. Against the DRY religion I ended up with several methods similar to the following: def get_processors col ar=Array.new count=col.Count 1.upto(count){|i| ar<