Class: Lolcommits::CaptureWindows
- Defined in:
- lib/lolcommits/capturer/capture_windows.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Capturer
#capture_delay, #capture_device, #capture_duration, #capture_path
Instance Method Summary collapse
Methods inherited from Capturer
#debug, #initialize, #system_call
Constructor Details
This class inherits a constructor from Lolcommits::Capturer
Instance Method Details
#capture ⇒ Object
5 6 7 8 9 10 |
# File 'lib/lolcommits/capturer/capture_windows.rb', line 5 def capture _stdin, stdout, _stderr = Open3.popen3("#{executable_path} /filename #{capture_path}#{delay_arg}") # need to read the output for something to happen stdout.read end |