lib/knowledge_base.rb in knowledge_base-0.0.3 vs lib/knowledge_base.rb in knowledge_base-0.1.0
- old
+ new
@@ -1,15 +1,20 @@
require "knowledge_base/engine"
require "knowledge_base/configuration"
+require "knowledge_base/concerns"
require "carrierwave"
module KnowledgeBase
class << self
def configure
yield config
end
def config
@config ||= KnowledgeBase::Configuration.new
+ end
+
+ def reset
+ @config = nil
end
end
end