Logan Capaldo wrote:
> 0...len is a _single_ object
> what you wrote was
> x = 0...len
> 
> for i in [x]
> 
> Ruby is not perl, ... does not construct lists.


Thank you very much, Logan Capaldo.

That was the open eyes explanation, I wanted to get.
The case is closed.


-- 
Posted via http://www.ruby-forum.com/.