module Brice::Colours::PP
Public Class Methods
pp_with_colour(obj, out = $>, width = 79)
click to toggle source
# File lib/brice/colours.rb 141 def pp_with_colour(obj, out = $>, width = 79) 142 res = pp_without_colour(obj, str = '', width) 143 out << Colours.colourize(str) 144 res 145 end
singleline_pp_with_colour(obj, out = $>)
click to toggle source
# File lib/brice/colours.rb 153 def singleline_pp_with_colour(obj, out = $>) 154 res = singleline_pp_without_colour(obj, str = '') 155 out << Colours.colourize(str) 156 res 157 end