# File lib/haml/util.rb, line 41 def to_hash(arr) arr.compact.inject({}) {|h, (k, v)| h[k] = v; h} end