Sha256: 55da4a7dc8317ec66f3227908252ca38abc87d48c840b8bf864ef64dcbdf48db
Contents?: true
Size: 456 Bytes
Versions: 15
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true module Lolcommits class CaptureMac < Capturer def capture system_call "#{executable_path} -q \"#{capture_path}\" -w #{capture_delay} #{capture_device_string}" end private def capture_device_string capture_device.nil? ? '' : "-d \"#{capture_device}\"" end def executable_path File.join(Configuration::LOLCOMMITS_ROOT, 'vendor', 'ext', 'imagesnap', 'imagesnap') end end end
Version data entries
15 entries across 15 versions & 1 rubygems