Sha256: 3bfebdb1380ff87754239f9c845d7e5f22d809a75bb063be0342ebf52a72bf6e
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
module Gitstagram class Snapshot class << self # # Takes a snapshot # def smile saving_path = Gitstagram.saving_path + "/#{Time.now.to_i}.jpg" Gitstagram::SystemCaller.call "#{Gitstagram.tools_path}/imagesnap -q -w 3 #{saving_path} &" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gitstagram-0.0.5 | lib/gitstagram/snapshot.rb |