class AwesomePrint::Formatters::SimpleFormatter
Attributes
inspector[R]
options[R]
string[R]
type[R]
Public Class Methods
new(string, type, inspector)
click to toggle source
# File lib/awesome_print/formatters/simple_formatter.rb, line 9 def initialize(string, type, inspector) @string = string @type = type @inspector = inspector @options = inspector.options end
Public Instance Methods
format()
click to toggle source
# File lib/awesome_print/formatters/simple_formatter.rb, line 16 def format colorize(string, type) end