Class: Lolcommits::CaptureMac

Inherits:
Capturer
  • Object
show all
Defined in:
lib/lolcommits/capturer/capture_mac.rb

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

#captureObject



5
6
7
# File 'lib/lolcommits/capturer/capture_mac.rb', line 5

def capture
  system_call "#{executable_path} -q \"#{capture_path}\" -w #{capture_delay} #{capture_device_string}"
end