instance method _original_sum_with_required_identity

Ruby on Rails 5.0.7.2

Since v5.0.7.2 Last seen in v5.1.7

Available in: v5.0.7.2 v5.1.7

Signature

_original_sum_with_required_identity(identity = nil, &block)

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

Parameters

identity opt = nil
block block

Alias for

Enumerable#sum

Defined in activesupport/lib/active_support/core_ext/enumerable.rb · Improve this page · Find usages on GitHub

Defined in Enumerable

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close