module Brice::Colours::PP

Public Class Methods

pp_with_colour(obj, out = $>, width = 79) click to toggle source
# File lib/brice/colours.rb, line 139
def pp_with_colour(obj, out = $>, width = 79)
  res = pp_without_colour(obj, str = '', width)
  out << Colours.colourize(str)
  res
end
singleline_pp_with_colour(obj, out = $>) click to toggle source
# File lib/brice/colours.rb, line 151
def singleline_pp_with_colour(obj, out = $>)
  res = singleline_pp_without_colour(obj, str = '')
  out << Colours.colourize(str)
  res
end