Class: Lolcommits::CaptureFake

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

Instance Attribute Summary

Attributes inherited from Capturer

#capture_delay, #capture_device, #capture_duration, #capture_path

Instance Method Summary collapse

Methods inherited from Capturer

#debug, #initialize, #system_call

Constructor Details

This class inherits a constructor from Lolcommits::Capturer

Instance Method Details

#captureObject



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

def capture
  FileUtils.cp(test_file, capture_path)
end