rails

https://github.com/rails/rails

Ruby

Ruby on Rails

Enumerable#_original_sum_with_required_identity

We can't use Refinements here because Refinements with Module which will be prepended
doesn't work well https://bugs.ruby-lang.org/issues/13446

Source | Google | Stack overflow

Edit

git clone [email protected]:rails/rails.git

cd rails

open activesupport/lib/active_support/core_ext/enumerable.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Enumerable-_original_sum_with_required_identity-for-pr


# Commit to git

git add activesupport/lib/active_support/core_ext/enumerable.rbgit commit -m "better docs for Enumerable#_original_sum_with_required_identity"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Enumerable-_original_sum_with_required_identity-for-pr

hub pull-request


# Celebrate!