Class: Lolcommits::CaptureFake

Inherits:
Capturer
  • Object
show all
Defined in:
lib/lolcommits/capturer/capture_fake.rb

Instance Attribute Summary

Attributes inherited from Capturer

#animated_duration, #capture_delay, #capture_device, #frames_location, #snapshot_location, #video_location

Instance Method Summary collapse

Methods inherited from Capturer

#initialize

Constructor Details

This class inherits a constructor from Lolcommits::Capturer

Instance Method Details

#captureObject



4
5
6
7
# File 'lib/lolcommits/capturer/capture_fake.rb', line 4

def capture
  test_image = File.join Configuration::LOLCOMMITS_ROOT, 'test', 'images', 'test_image.jpg'
  FileUtils.cp test_image, snapshot_location
end