Sha256: 6fa035ffa47a2753a289f76df617fbe01cc66a83581b5e1186588e82f816282c

Contents?: true

Size: 224 Bytes

Versions: 8

Compression:

Stored size: 224 Bytes

Contents

require 'gnawrnip/screenshot'

module Gnawrnip
  class Photographer
    def take_shot
      frames << Screenshot.take
    end

    def reset!
      frames.clear
    end

    def frames
      @frames ||= []
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gnawrnip-0.8.0 lib/gnawrnip/photographer.rb
gnawrnip-0.7.0 lib/gnawrnip/photographer.rb
gnawrnip-0.6.0 lib/gnawrnip/photographer.rb
gnawrnip-0.5.0 lib/gnawrnip/photographer.rb
gnawrnip-0.4.0 lib/gnawrnip/photographer.rb
gnawrnip-0.3.2 lib/gnawrnip/photographer.rb
gnawrnip-0.3.1 lib/gnawrnip/photographer.rb
gnawrnip-0.3.0 lib/gnawrnip/photographer.rb