method
invert
v1_9_1_378 -
Show latest stable
- Class:
YAML::DBM
invert()public
No documentation available.
# File lib/yaml/dbm.rb, line 67
def invert
h = {}
keys.each { |k| h[ self.fetch( k ) ] = k }
h
end