lib/closer.rb in closer-0.1.3 vs lib/closer.rb in closer-0.1.4
- old
+ new
@@ -1,13 +1,14 @@
require "closer/version"
-if defined?(Rails)
- require 'closer/rails/engine'
- require 'closer/rails/railtie'
-end
-
module Closer
def self.config
@@config ||= Closer::Config.new
end
+
+end
+
+if defined?(Rails)
+ require 'closer/rails/engine'
+ require 'closer/rails/railtie'
end