Class: Lolcommits::CaptureFake
- Defined in:
- lib/lolcommits/capture_fake.rb
Instance Attribute Summary
Attributes inherited from Capturer
#capture_delay, #capture_device, #font, #snapshot_location
Instance Method Summary collapse
Methods inherited from Capturer
Constructor Details
This class inherits a constructor from Lolcommits::Capturer
Instance Method Details
#capture ⇒ Object
3 4 5 6 |
# File 'lib/lolcommits/capture_fake.rb', line 3 def capture test_image = File.join Configuration::LOLCOMMITS_ROOT, "test", "images", "test_image.jpg" FileUtils.cp test_image, snapshot_location end |