Class: Lolcommits::Capturer
- Inherits:
-
Object
- Object
- Lolcommits::Capturer
- Includes:
- Methadone::CLILogging
- Defined in:
- lib/lolcommits/capturer.rb
Direct Known Subclasses
CaptureCygwin, CaptureFake, CaptureLinux, CaptureLinuxAnimated, CaptureMac, CaptureMacAnimated, CaptureWindows
Instance Attribute Summary collapse
-
#animated_duration ⇒ Object
Returns the value of attribute animated_duration.
-
#capture_delay ⇒ Object
Returns the value of attribute capture_delay.
-
#capture_device ⇒ Object
Returns the value of attribute capture_device.
-
#frames_location ⇒ Object
Returns the value of attribute frames_location.
-
#snapshot_location ⇒ Object
Returns the value of attribute snapshot_location.
-
#video_location ⇒ Object
Returns the value of attribute video_location.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Capturer
constructor
A new instance of Capturer.
Constructor Details
#initialize(attributes = {}) ⇒ Capturer
Returns a new instance of Capturer.
9 10 11 12 13 14 |
# File 'lib/lolcommits/capturer.rb', line 9 def initialize(attributes = {}) attributes.each do |attr, val| send("#{attr}=", val) end debug 'Capturer: initializing new instance ' + to_s end |
Instance Attribute Details
#animated_duration ⇒ Object
Returns the value of attribute animated_duration.
6 7 8 |
# File 'lib/lolcommits/capturer.rb', line 6 def animated_duration @animated_duration end |
#capture_delay ⇒ Object
Returns the value of attribute capture_delay.
6 7 8 |
# File 'lib/lolcommits/capturer.rb', line 6 def capture_delay @capture_delay end |
#capture_device ⇒ Object
Returns the value of attribute capture_device.
6 7 8 |
# File 'lib/lolcommits/capturer.rb', line 6 def capture_device @capture_device end |
#frames_location ⇒ Object
Returns the value of attribute frames_location.
6 7 8 |
# File 'lib/lolcommits/capturer.rb', line 6 def frames_location @frames_location end |
#snapshot_location ⇒ Object
Returns the value of attribute snapshot_location.
6 7 8 |
# File 'lib/lolcommits/capturer.rb', line 6 def snapshot_location @snapshot_location end |
#video_location ⇒ Object
Returns the value of attribute video_location.
6 7 8 |
# File 'lib/lolcommits/capturer.rb', line 6 def video_location @video_location end |