Top Level Namespace
Defined Under Namespace
Classes: ETBlogCore, String
Instance Method Summary collapse
Instance Method Details
#maplists(list1, list2) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/etblog.rb', line 7 def maplists(list1, list2) hash = {} index2 = -1 list1.each do |item| index2 += 1 hash[item] = list2[index2] end return hash end |