Sha256: 5d8c17ccbdfc0d51210bd4e86b11cf6cbc32db86acf67a98aab161c742d4ca27
Contents?: true
Size: 304 Bytes
Versions: 4
Compression:
Stored size: 304 Bytes
Contents
require 'gnawrnip/screenshot' require 'base64' module Gnawrnip class Animation class << self def reset! frames.clear end def frames @frames ||= [] end def add_frame image = Screenshot.take frames << image end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gnawrnip-0.1.2 | lib/gnawrnip/animation.rb |
gnawrnip-0.1.1 | lib/gnawrnip/animation.rb |
gnawrnip-0.1.0 | lib/gnawrnip/animation.rb |
gnawrnip-0.0.4 | lib/gnawrnip/animation.rb |