Class: Pry::Inspector

Inherits:
Object show all
Defined in:
lib/pry/inspector.rb

Constant Summary collapse

MAP =
{
  "default" => {
    value: Pry::DEFAULT_PRINT,
    description: "      The default Pry inspector. It has paging and color support, and uses\n      pretty_inspect when printing an object.\n    DESCRIPTION\n  },\n\n  \"simple\" => {\n    value: Pry::SIMPLE_PRINT,\n    description: <<-DESCRIPTION.each_line.map(&:lstrip)\n      A simple inspector that uses #puts and #inspect when printing an\n      object. It has no pager, color, or pretty_inspect support.\n    DESCRIPTION\n  },\n\n  \"clipped\" => {\n    value: Pry::CLIPPED_PRINT,\n    description: <<-DESCRIPTION.each_line.map(&:lstrip)\n      The clipped inspector has the same features as the 'simple' inspector\n      but prints large objects as a smaller string.\n    DESCRIPTION\n  }\n}\n".each_line.map(&:lstrip!)