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
1 changed files with 1 additions and 3 deletions

View File

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