Sha256: 62ce4c0ecdfca3fa48c0c044ee534d73c10c5fc75929f29c0a019cbaf6766bc6
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
require 'pathname' module Bbq def self.root @root ||= Pathname.new(File.expand_path(File.join(File.dirname(__FILE__), '..'))) end def self.rails? defined?(::Rails) end def self.app Capybara.app end def self.app=(new_app) Capybara.app=(new_app) end end require 'bbq/railtie' if Bbq.rails?
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bbq-0.0.4 | lib/bbq.rb |
bbq-0.0.3 | lib/bbq.rb |