Method: Hash#invert
- Defined in:
- lib/helpers/hash_extensions.rb
#invert ⇒ Object
monkey-patching Hash#invert method - it’s backwards compatible, but preserves duplicate values in the hash
15 16 17 |
# File 'lib/helpers/hash_extensions.rb', line 15 def invert self.inverse end |