class ActiveSupport::HashWithIndifferentAccess
def transform_keys(hash = NOT_GIVEN, &block)
def transform_keys(hash = NOT_GIVEN, &block) return to_enum(:transform_keys) if NOT_GIVEN.equal?(hash) && !block_given? dup.tap { |h| h.transform_keys!(hash, &block) } end