lib/wagn.rb in wagn-1.16.1 vs lib/wagn.rb in wagn-1.16.2
- old
+ new
@@ -1,26 +1,25 @@
-# should be able to move these to more appropriate places
-WAGN_GEM_ROOT = File.expand_path('../..', __FILE__)
module Wagn
+ WAGN_GEM_ROOT = File.expand_path('../..', __FILE__)
- class << self
+ class << self
def root
Rails.root
end
-
+
def application
Rails.application
end
-
+
def config
application.config
end
-
+
def paths
application.paths
end
-
+
def gem_root
WAGN_GEM_ROOT
end
end
end