Class: DohDb::HashRow
Class Method Summary collapse
Class Method Details
.new(keys, values) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/doh/mysql/hash_row.rb', line 4 def self.new(keys, values) hash = {} keys.each_with_index do |key, index| hash[key] = values.at(index) end hash end |