1
0
Fork 0
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:
Ryan Fitzgerald 2013-11-03 18:36:19 -08:00
parent 2596fd3f3c
commit a6cc93ead0

View file

@ -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.