Class: LoaderDetector::ShotgunRubyDriver

Inherits:
ScreenshotDriver show all
Defined in:
lib/loader_detector.rb

Instance Method Summary collapse

Constructor Details

#initialize(window_id) ⇒ ShotgunRubyDriver

Returns a new instance of ShotgunRubyDriver.



109
110
111
# File 'lib/loader_detector.rb', line 109

def initialize( window_id )
    @window_id = window_id.strip
end

Instance Method Details

#pam_screenshot_file(file_path) ⇒ Object



113
114
115
# File 'lib/loader_detector.rb', line 113

def pam_screenshot_file( file_path )
    ShotgunRuby.screenshot( @window_id, file_path )
end