Class: Gnawrnip::Photographer
- Inherits:
-
Object
- Object
- Gnawrnip::Photographer
- Defined in:
- lib/gnawrnip/photographer.rb
Instance Method Summary collapse
Instance Method Details
#frames ⇒ Object
13 14 15 |
# File 'lib/gnawrnip/photographer.rb', line 13 def frames @frames ||= [] end |
#reset! ⇒ Object
9 10 11 |
# File 'lib/gnawrnip/photographer.rb', line 9 def reset! frames.clear end |
#take_shot ⇒ Object
5 6 7 |
# File 'lib/gnawrnip/photographer.rb', line 5 def take_shot frames << Screenshot.take end |