class Pry::ColorPrinter

def pp(object)

def pp(object)
  return super unless object.is_a?(String)
  # Avoid calling Ruby 2.4+ String#pretty_print that prints multiline
  # Strings prettier
  text(object.inspect)
rescue StandardError => exception
  raise if exception.is_a?(Pry::Pager::StopPaging)
  text(highlight_object_literal(inspect_object(object)))
end