# File lib/ap/awesome_print.rb, line 12 def initialize(options = {}) @options = { :multiline => true, :plain => false, :indent => 4, :color => { :array => :white, :bigdecimal => :blue, :class => :yellow, :date => :greenish, :falseclass => :red, :fixnum => :blue, :float => :blue, :hash => :pale, :struct => :pale, :nilclass => :red, :string => :yellowish, :symbol => :cyanish, :time => :greenish, :trueclass => :green } } # Merge custom defaults and let explicit options parameter override them. merge_custom_defaults! merge_options!(options) @indentation = @options[:indent].abs Thread.current[AP] ||= [] end