Sha256: c8115d238a18895d6f340e018ca5415f6d79a8b76072ae3baff19be112a3cfb6

Contents?: true

Size: 52 Bytes

Versions: 40

Compression:

Stored size: 52 Bytes

Contents

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

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
rulp-0.0.44 lib/extensions/array_extensions.rb
rulp-0.0.43 lib/extensions/array_extensions.rb
rulp-0.0.42 lib/extensions/array_extensions.rb
rulp-0.0.41 lib/extensions/array_extensions.rb
rulp-0.0.40 lib/extensions/array_extensions.rb
rulp-0.0.39 lib/extensions/array_extensions.rb
rulp-0.0.38 lib/extensions/array_extensions.rb
rulp-0.0.37 lib/extensions/array_extensions.rb
rulp-0.0.36 lib/extensions/array_extensions.rb
rulp-0.0.35 lib/extensions/array_extensions.rb
rulp-0.0.34 lib/extensions/array_extensions.rb
rulp-0.0.33 lib/extensions/array_extensions.rb
rulp-0.0.32 lib/extensions/array_extensions.rb
rulp-0.0.29 lib/extensions/array_extensions.rb
rulp-0.0.27 lib/extensions/array_extensions.rb
rulp-0.0.26 lib/extensions/array_extensions.rb
rulp-0.0.25 lib/extensions/array_extensions.rb
rulp-0.0.24 lib/extensions/array_extensions.rb
rulp-0.0.23 lib/extensions/array_extensions.rb
rulp-0.0.22 lib/extensions/array_extensions.rb