Simplify usage of ColorPrinter in ls -l
This commit is contained in:
parent
2596fd3f3c
commit
a6cc93ead0
|
@ -327,9 +327,7 @@ class Pry
|
|||
end
|
||||
|
||||
def format_value(value)
|
||||
str = ""
|
||||
Pry::ColorPrinter.pp(value, str)
|
||||
str
|
||||
Pry::ColorPrinter.pp(value, "")
|
||||
end
|
||||
|
||||
# Add a new section to the output. Outputs nothing if the section would be empty.
|
||||
|
|
Loading…
Reference in New Issue