Sha256: c92f73bfb974de8234d0f6d3e1c92da0fda0f2f138958c5620b4cfd390518441

Contents?: true

Size: 66 Bytes

Versions: 9

Compression:

Stored size: 66 Bytes

Contents

class Array
  def sum(start = 0)
    inject(start, &:+)
  end
end

Version data entries

9 entries across 9 versions & 6 rubygems

Version Path
anian-0.2.1 lib/anian/array.rb
highways-0.0.2 lib/highway/array.rb
rhino-framework-0.0.4 lib/rhino/array.rb
pint-0.0.2 lib/pint/array.rb
pint-0.0.1.3 lib/pint/array.rb
erik_rulers-0.0.5 lib/rulers/array.rb
erik_rulers-0.0.4 lib/rulers/array.rb
erik_rulers-0.0.3 lib/rulers/array.rb
rulers_seanfred-0.0.2 lib/rulers/array.rb