Sha256: c97cc315c56462284006684907cfc01a4cbbacea12e2e3273582bc201be7f036
Contents?: true
Size: 510 Bytes
Versions: 40
Compression:
Stored size: 510 Bytes
Contents
module Lolcommits class CaptureMac < Capturer def capture_device_string @capture_device.nil? ? nil : "-d \"#{@capture_device}\"" end def capture call_str = "#{imagesnap_bin} -q \"#{snapshot_location}\" -w #{capture_delay} #{capture_device_string}" debug "Capturer: making system call for #{call_str}" system(call_str) end private def imagesnap_bin File.join(Configuration::LOLCOMMITS_ROOT, "vendor", "ext", "imagesnap", "imagesnap") end end end
Version data entries
40 entries across 40 versions & 3 rubygems