class Array
Public Instance Methods
hash_from(*keys)
click to toggle source
# File lib/spectra/utilities.rb, line 106 def hash_from(*keys) Hash[ keys.first(self.length).zip(self) ] end
# File lib/spectra/utilities.rb, line 106 def hash_from(*keys) Hash[ keys.first(self.length).zip(self) ] end