lib/bbq.rb in bbq-0.0.1 vs lib/bbq.rb in bbq-0.0.2.beta.1

- old
+ new

@@ -1,3 +1,7 @@ +require 'bbq/railtie' if defined?(Rails) + module Bbq - # Your code goes here... + def self.root + @root ||= Pathname.new(File.expand_path(File.join(File.dirname(__FILE__), '..'))) + end end