class ActiveSupport::HashWithIndifferentAccess

def transform_values(&block)

def transform_values(&block)
  return to_enum(:transform_values) unless block_given?
  dup.tap { |hash| hash.transform_values!(&block) }
end