# File lib/dm-validations/support/ordered_hash.rb, line 288 def invert hsh2 = self.class.new order.each { |k| hsh2[@hash[k]] = k } hsh2 end