Roger Pack wrote in post #997818:
> Hello all.
> I would have expected that
>
> [1,2,3].find(3)
>
> just return me the element 3, not an enumerator,

Where in the world did you dream up that?  Enumerable#find() returns the 
first element for which the block is true.  Where is your block?  The 
argument to find() is the default value you want find() to return if the 
block is false for all elements.

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