Class: BrowserShooter::Commands::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/browser_shooter/commands/base.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

#browserObject (readonly)

Returns the value of attribute browser.



4
5
6
# File 'lib/browser_shooter/commands/base.rb', line 4

def browser
  @browser
end

#driverObject (readonly)

Returns the value of attribute driver.



4
5
6
# File 'lib/browser_shooter/commands/base.rb', line 4

def driver
  @driver
end

#output_pathObject (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