1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Merge pull request #1211 from yui-knk/fix-1016

Overwrite CodeRay's comment color.
This commit is contained in:
Conrad Irwin 2014-05-01 23:40:40 -07:00
commit c710ec3661

View file

@ -10,6 +10,8 @@ class Pry
end
end
CodeRay::Encoders::Terminal::TOKEN_COLORS[:comment][:self] = "\e[1;34m"
def self.pp(obj, out = $>, width = 79)
q = ColorPrinter.new(out, width)
q.guard_inspect_key { q.pp obj }