module Hashie::Extensions::Mash::KeepOriginalKeys
def convert_key(key)
-
(Object)
- the value assigned to the key.
Parameters:
-
key
(Object, String, Symbol
) -- the key to access.
def convert_key(key) if regular_key?(key) key elsif (converted_key = __convert(key)) && regular_key?(converted_key) converted_key else key end end