require_relative 'base_formatter'

module AwesomePrint
  module Formatters
    class SimpleFormatter < BaseFormatter

      attr_reader :string, :type, :inspector, :options, :indentation

      def initialize(string, type, inspector)
        @string = string
        @type = type
        @inspector = inspector
        @options = inspector.options
        @indentation = @options[:indent].abs
      end

      def format
        colorize(string, type)
      end
    end
  end
end

Add simple formatter for BigDecimal and his friends
Add simple formatter for BigDecimal and his friends
