Class: Pry::Inspector

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

Constant Summary

MAP =
{
  "default" => {
    value: Pry::DEFAULT_PRINT,
    description: "The default Pry inspector. It has paging and color support, and uses\npretty_inspect when printing an object.\n".each_line.map(&:lstrip!)
  },

  "simple" => {
    value: Pry::SIMPLE_PRINT,
    description: "A simple inspector that uses #puts and #inspect when printing an\nobject. It has no pager, color, or pretty_inspect support.\n".each_line.map(&:lstrip)
  },

  "clipped" => {
    value: Pry::CLIPPED_PRINT,
    description: "The clipped inspector has the same features as the 'simple' inspector\nbut prints large objects as a smaller string.\n".each_line.map(&:lstrip)
  }
}