Method: RUTL::Interface::Base#initialize
- Defined in:
- lib/rutl/interface/base.rb
#initialize ⇒ Base
Returns a new instance of Base.
25 26 27 28 29 30 31 |
# File 'lib/rutl/interface/base.rb', line 25 def initialize raise 'Child interface class must set @driver.' if @driver.nil? # base_name avoids collisions when unning the same tests with # different applications name = self.class.to_s.sub('RUTL::Interface', '') @camera = Camera.new(@driver, base_name: name) end |