method
invert
invert()
public
Hide source
# File lib/yaml/dbm.rb, line 67 def invert h = {} keys.each { |k| h[ self.fetch( k ) ] = k } h end