Class: LoaderDetector::ShotgunRubyDriver
- Inherits:
-
ScreenshotDriver
- Object
- ScreenshotDriver
- LoaderDetector::ShotgunRubyDriver
- Defined in:
- lib/loader_detector.rb
Instance Method Summary collapse
-
#initialize(window_id) ⇒ ShotgunRubyDriver
constructor
A new instance of ShotgunRubyDriver.
- #pam_screenshot_file(file_path) ⇒ Object
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 |