Re: Help me improve Hash#rekey

2012-12-11 Thread Intransition
On Tuesday, December 11, 2012 6:55:32 AM UTC-5, Robert Klemme wrote: > > > > Oh, and nice use of polymorphism using #[] for both proc and hash > retrieval! > > Thank you! :-) > Well, everything went well except for one thing, which was a bit irritating actually -- I couldn't find a way to co

[ANN] Tork 19.1.0

2012-12-11 Thread Suraj Kurapati
https://github.com/sunaku/tork#readme Tork runs your tests as they change, in parallel: 1. Absorbs test execution overhead into a master process. 2. Forks to inherit overhead and run test files in parallel. 3. Avoids running unchanged tests inside changed test files. ## Version 19.1.0 (2

Re: Leap year programing

2012-12-11 Thread Robert Klemme
On Tue, Dec 11, 2012 at 9:50 AM, Hieu Le wrote: > This is my function: > > > > puts 'Begin year:' > beginyear = gets.chomp > puts 'End year:' > endyear = gets.chomp > puts 'The leap years between ' + beginyear + ' and ' + endyear + ':' > > beginyear = beginyear.to_i > endyear = endyear.to_i > if e

Re: Help me improve Hash#rekey

2012-12-11 Thread Robert Klemme
On Mon, Dec 10, 2012 at 8:44 PM, Intransition wrote: > > > On Monday, December 10, 2012 7:22:17 AM UTC-5, Robert Klemme wrote: >> >> On Sun, Dec 9, 2012 at 7:19 PM, Intransition wrote: >> > The note `TODO: Improve Hash#rekey code!!!` has been in my docs for too >> > long. I could use other's insi