module Prettys
Public Class Methods
format()
click to toggle source
# File lib/prettys.rb, line 12 def format @converter.format end
format=(format)
click to toggle source
# File lib/prettys.rb, line 16 def format=(format) @converter.format = format end
prettys(object, options)
click to toggle source
# File lib/prettys.rb, line 20 def prettys(object, options) options[:string] = @converter.convert(object) @colorizer.colorize(options) end