Class: Array
Instance Method Summary collapse
Instance Method Details
#to_hash(keys) ⇒ Object
60 61 62 63 |
# File 'lib/ruby-xbmc.rb', line 60 def to_hash(keys) return nil if(keys.length != self.length) Hash[*keys.zip(self).flatten] end |