From: Bernardo Monteiro Rufino Date: 2007-12-14T11:55:55+09:00 Subject: Re: Simple method and block. foo.times ------=_Part_134_6811652.1197600960354 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I cant resist, some refactor: class Integer def mytimes(start=0, inc=1, &block) start.step(start + (self * inc) - 1, inc, &block); end end ------=_Part_134_6811652.1197600960354--