[rspec-users] Wrong number of arguments (reduce, rspec/core/metadata)

Thibaut Barrère thibaut.barrere at gmail.com
Sun Nov 27 09:06:37 EST 2011

Hi David,

reduce has a number of different forms, one of which is collection.reduce { 
> ... } (with a block but no args). 
My best guess is either your app or another lib/gem is redefining reduce. 
> Possible?
well I don't know the codebase enough yet, but I guess yes, it's definitely 

Thanks for the hint! (and sorry for the late reply - as I was newly 
subscribed to this group, I didn't get your reply until I came back myself 
on the group).

-- Thibaut

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20111127/05189f40/attachment.html>

More information about the rspec-users mailing list