Sha256: 61dc73e91ccb07257edb24ab0043593b680714f3619bbd0a7d7bce8703ab6799

Contents?: true

Size: 841 Bytes

Versions: 174

Compression:

Stored size: 841 Bytes

Contents

class Pry::Inspector
  MAP = {
    "default" => {
      value: Pry::DEFAULT_PRINT,
      description: <<-DESCRIPTION.each_line.map(&:lstrip!)
        The default Pry inspector. It has paging and color support, and uses
        pretty_inspect when printing an object.
      DESCRIPTION
    },

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

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

Version data entries

174 entries across 167 versions & 40 rubygems

Version Path
pry-0.10.0.rc1-java lib/pry/inspector.rb
pry-0.10.0.pre4 lib/pry/inspector.rb
pry-0.10.0.pre4-i386-mswin32 lib/pry/inspector.rb
pry-0.10.0.pre4-i386-mingw32 lib/pry/inspector.rb
pry-0.10.0.pre4-x64-mingw32 lib/pry/inspector.rb
pry-0.10.0.pre4-java lib/pry/inspector.rb
pry-0.10.0.pre3 lib/pry/inspector.rb
pry-0.10.0.pre3-i386-mswin32 lib/pry/inspector.rb
pry-0.10.0.pre3-i386-mingw32 lib/pry/inspector.rb
pry-0.10.0.pre3-java lib/pry/inspector.rb
pry-0.10.0.pre2 lib/pry/inspector.rb
pry-0.10.0.pre2-universal-mswin32 lib/pry/inspector.rb
pry-0.10.0.pre2-universal-mingw32 lib/pry/inspector.rb
pry-0.10.0.pre2-java lib/pry/inspector.rb