module Hashie::Extensions::SymbolizeKeys::ClassMethods

def convert_key(key)

Returns:
  • (Symbol, K) -

Parameters:
  • key () -- the key to attempt convert to a symbol

Other tags:
    Api: - private
def convert_key(key)
  key.respond_to?(:to_sym) ? key.to_sym : key
end