Sha256: 0ddba845a99c0832f76ccf527158df050915adf5ed7230aa47c515bfdb5fb9c7

Contents?: true

Size: 65 Bytes

Versions: 10

Compression:

Stored size: 65 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
thomler-0.1.8 lib/thomler/array.rb
thomler-0.1.7 lib/thomler/array.rb
thomler-0.1.6 lib/thomler/array.rb
thomler-0.1.5 lib/thomler/array.rb
thomler-0.1.4 lib/thomler/array.rb
thomler-0.1.3 lib/thomler/array.rb
thomler-0.1.2 lib/thomler/array.rb
thomler-0.1.1 lib/thomler/array.rb
thomler-0.1.0 lib/thomler/array.rb
thomler-0.0.7 lib/thomler/array.rb