Sha256: ef6f32f5017ff30f7fd614f395789b7bfd8c053a73b3dc4044af0ec8ba2a75c8

Contents?: true

Size: 51 Bytes

Versions: 3

Compression:

Stored size: 51 Bytes

Contents

class Array
  def sum
    self.inject(:+)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rstat-0.1.0 lib/rstat/core_ext/array/sum.rb
rstat-0.0.4 lib/rstat/core_ext/array/sum.rb
rstat-0.0.3 lib/rstat/core_ext/array/sum.rb