lib/njord.rb in njord-0.1.3 vs lib/njord.rb in njord-0.2.0
- old
+ new
@@ -1,14 +1,13 @@
+require 'thor'
+require 'njord/cli'
require "njord/docker_handler"
require "njord/configuration_reader"
require "njord/version"
-require 'njord/cli'
module Njord
class << self
- attr_accessor :config
-
- def configure(config)
- self.config ||= config
+ def config
+ @config ||= ConfigurationReader.read_from_file
end
end
end