Class: Lolcommits::CaptureMacVideo

Inherits:
Capturer
  • Object
show all
Defined in:
lib/lolcommits/capturer/capture_mac_video.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_video.rb', line 5

def capture
  system_call "#{executable_path} -p 640x480 #{capture_device_string}#{capture_delay_string}-t #{capture_duration} --no-audio \"#{capture_path}\" > /dev/null"
end