# File lib/dm-core/support/ext/array.rb, line 16 def self.to_mash(array) m = Mash.new array.each { |k,v| m[k] = v } m end