Sha256: c804abb67eb75283a7f2073bf55f2515e5428d0024afdad622c5d8e0a36d7430
Contents?: true
Size: 275 Bytes
Versions: 3
Compression:
Stored size: 275 Bytes
Contents
require 'pathname' module Bbq class << self def root @root ||= Pathname.new(File.expand_path(File.join(File.dirname(__FILE__), '..'))) end def rails? defined?(::Rails) end attr_accessor :app end end require 'bbq/railtie' if Bbq.rails?
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bbq-0.2.1 | lib/bbq.rb |
bbq-0.2.0 | lib/bbq.rb |
bbq-0.1.0 | lib/bbq.rb |