Sha256: 6468fce9c9d4165e507c385c25f46134238b4d8de1134d936e8e3ae5db6e4cca
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
# -*- encoding : utf-8 -*- module Lolcommits class CaptureMac < Capturer def capture_device_string @capture_device.nil? ? nil : "-d \"#{@capture_device}\"" end def capture call_str = "#{executable_path} -q \"#{snapshot_location}\" -w #{capture_delay} #{capture_device_string}" debug "Capturer: making system call for #{call_str}" system(call_str) end def executable_path File.join(Configuration::LOLCOMMITS_ROOT, 'vendor', 'ext', 'imagesnap', 'imagesnap') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolcommits-0.5.4 | lib/lolcommits/capture_mac.rb |
lolcommits-0.5.3 | lib/lolcommits/capture_mac.rb |