method
invert
rails latest stable - Class:
ActiveSupport::OrderedHash
invert()public
No documentation available.
# File activesupport/lib/active_support/ordered_hash.rb, line 208
def invert
OrderedHash[self.to_a.map!{|key_value_pair| key_value_pair.reverse}]
end