From: Luke Ivers Date: 2007-02-12T23:25:42+09:00 Subject: Re: [QUIZ] One-Liners (#113) ------=_Part_67745_22432288.1171290340149 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline class OneLiner class << self def commaize(quiz) quiz.to_s.reverse.gsub(/(\d\d\d)(?=\d)(?!\d*\.)/, '\1,').reverse end def flatten_once(quiz) t=[];quiz.each{|x|(Array===x)?x.each{|y|t<