lib/waistband/configuration.rb in waistband-0.14.0 vs lib/waistband/configuration.rb in waistband-0.14.1

- old
+ new

@@ -6,13 +6,13 @@ module Waistband class Configuration include Singleton - attr_accessor :config_dir + attr_accessor :config_dir, :logger attr_writer :timeout - attr_reader :env, :logger + attr_reader :env def initialize @yml_config = {} @indexes = {} end @@ -64,13 +64,9 @@ Elasticsearch::Client.new client_hash end def reset_timeout remove_instance_variable '@timeout' - end - - def logger=(logger) - @logger = logger end private def load_yml_with_erb(file)