From: Arup Rakshit Date: 2013-02-03T05:44:10+09:00 Subject: Re: Why none of the block giving the expected output with the "enumerator"? Stefano Crocco wrote in post #1094918: > On Sunday 03 February 2013 Arup Rakshit wrote >> => [11, 22, 31, 224, 44] >> from (irb):22:in `-' >> from (irb):22:in `block in irb_binding' >> from (irb):22:in `each' >> from (irb):22:in `each' >> from (irb):22 >> from C:/Ruby193/bin/irb:12:in `
' >> irb(main):023:0> @Stefano why is it calling Array's "each" method,instead of "enum#each",as i converted it to enumerator? thanks -- Posted via http://www.ruby-forum.com/.