Module: BrowserWarrior
- Defined in:
- lib/browser_warrior.rb,
lib/browser_warrior/engine.rb,
lib/browser_warrior/version.rb,
lib/generators/browser_warrior/views/views_generator.rb,
lib/generators/browser_warrior/install/install_generator.rb
Defined Under Namespace
Modules: Controllers, Generators
Classes: Engine
Constant Summary
collapse
- ROOT =
File.expand_path(File.join( File.dirname(__FILE__), '..'))
- VERSION =
'0.14.0'
- @@autoenable =
true
Class Method Summary
collapse
Class Method Details
.detect(&block) ⇒ Object
69
70
71
|
# File 'lib/browser_warrior.rb', line 69
def self.detect(&block)
@detect_block = block
end
|
.do_detect(browser) ⇒ Object
73
74
75
|
# File 'lib/browser_warrior.rb', line 73
def self.do_detect(browser)
@detect_block.call(browser)
end
|