/usr/lib/ruby/vendor_ruby/pry/inspector.rb is in pry 0.10.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 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
|