mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Simplify usage of ColorPrinter in ls -l
This commit is contained in:
parent
2596fd3f3c
commit
a6cc93ead0
1 changed files with 1 additions and 3 deletions
|
@ -327,9 +327,7 @@ class Pry
|
||||||
end
|
end
|
||||||
|
|
||||||
def format_value(value)
|
def format_value(value)
|
||||||
str = ""
|
Pry::ColorPrinter.pp(value, "")
|
||||||
Pry::ColorPrinter.pp(value, str)
|
|
||||||
str
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Add a new section to the output. Outputs nothing if the section would be empty.
|
# Add a new section to the output. Outputs nothing if the section would be empty.
|
||||||
|
|
Loading…
Reference in a new issue