require 'configuration/yaml'

class TmuxPowerline
  def initialize(configuration_loader)
    if configuration_loader.nil?
      raise ArgumentError, "The configuration loader can't be nil"
    end
    @configuration_loader = configuration_loader
  end
end

require 'configuration/yaml'

class TmuxPowerline
  def initialize(configuration_loader=Configuration::Yaml.new)
    if configuration_loader.nil?
      raise ArgumentError, "The configuration loader can't be nil"
    end
    @configuration_loader = configuration_loader
  end

  def load_config(config)
    @configuration_loader.load_config(config)
  end
end

Define a default configuration loader and add a method to load the configuration
Define a default configuration loader and add a method to load the configuration
