Skip to content

Use inject instead of reduce.

gitlab-qa-bot requested to merge github/fork/ragaskar/master into master

Created by: ragaskar

Reduce is an alias for inject introduced in 1.8.7 -- using inject instead (while less readable) preserves 1.8.6 compatibility.

Now, I'm not sure how many people are actually using 1.8.6 and rspec 2 -- we do in CI, but only as a regression test for Jasmine. ;)

Merge request reports