From: Phrogz Date: 2006-07-13T06:05:11+09:00 Subject: Re: Help with a regexp Daniel Schierbeck wrote: > If you've got comments, bring > 'em on, but remember that I only just started this today. One comment: you seem to have intermixed the places for decoding (module methods) and encoding (instance methods of classes). It would seem cleaner, to me, to either add class methods to the classes (Array.from_bencode instead of Bencode.decode_list) or only use the module (Bencode.from_array instead of Array#bencode).