From: Paul Brannan Date: 2003-11-27T06:29:10+09:00 Subject: Re: Time#succ ? On Mon, Nov 24, 2003 at 05:36:49AM +0900, Hal Fulton wrote: > Should this be added? It would enable the creation > of Time ranges like t1..t2 and so on. Does this not already work? [pbrannan@zaphod ruby]$ irb irb(main):001:0> t = Time.now => Wed Nov 26 16:27:46 EST 2003 irb(main):002:0> (t .. t+1) => Wed Nov 26 16:27:46 EST 2003..Wed Nov 26 16:27:47 EST 2003 (the problem only comes if you want to iterate over the range, which seems to me to be an ill-defined operation). Paul