class Guard::UI::Config
def initialize(options = {})
def initialize(options = {}) opts = Guard::Options.new(options, DEFAULTS) # migrate old options stored in UI config directly deprecated_logger_opts = {} DEPRECATED_OPTS.each do |option| if opts.key?(option) deprecated_logger_opts[option.to_sym] = opts.delete(option) end end @logger_config = Logger::Config.new(deprecated_logger_opts) super(opts.to_hash) end