Class: Array

Inherits:
Object show all
Defined in:
lib/stretto/util/utils.rb

Direct Known Subclasses

Stretto::Layer, Stretto::Pattern, Stretto::Voice

Instance Method Summary collapse

Instance Method Details

#sumObject



24
25
26
# File 'lib/stretto/util/utils.rb', line 24

def sum
  inject(&:+)
end