Class: BrowserShooter::Commands::Base
- Inherits:
-
Object
- Object
- BrowserShooter::Commands::Base
- Defined in:
- lib/browser_shooter/commands/base.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
readonly
Returns the value of attribute browser.
-
#driver ⇒ Object
readonly
Returns the value of attribute driver.
-
#output_path ⇒ Object
readonly
Returns the value of attribute output_path.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(driver, browser, output_path) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(driver, browser, output_path) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 |
# File 'lib/browser_shooter/commands/base.rb', line 6 def initialize( driver, browser, output_path ) @driver = driver @browser = browser @output_path = output_path end |
Instance Attribute Details
#browser ⇒ Object (readonly)
Returns the value of attribute browser.
4 5 6 |
# File 'lib/browser_shooter/commands/base.rb', line 4 def browser @browser end |
#driver ⇒ Object (readonly)
Returns the value of attribute driver.
4 5 6 |
# File 'lib/browser_shooter/commands/base.rb', line 4 def driver @driver end |
#output_path ⇒ Object (readonly)
Returns the value of attribute output_path.
4 5 6 |
# File 'lib/browser_shooter/commands/base.rb', line 4 def output_path @output_path end |
Class Method Details
.plug(_module) ⇒ Object
12 13 14 |
# File 'lib/browser_shooter/commands/base.rb', line 12 def self.plug( _module ) include( _module ) end |