class DataTypeHelper
Public Class Methods
merge_arrays_into_hash(array1, array2)
click to toggle source
# File lib/salary_croatia/data_type_helper.rb, line 3 def self.merge_arrays_into_hash(array1, array2) hash = {} array1.each_with_index do |key, index| hash[key] = array2[index] end return hash end