Class: Lolcommits::Capturer
- Inherits:
-
Object
- Object
- Lolcommits::Capturer
- Defined in:
- lib/lolcommits/capturer.rb
Direct Known Subclasses
CaptureCygwin, CaptureFake, CaptureLinux, CaptureLinuxAnimated, CaptureMac, CaptureMacAnimated, CaptureWindows, CaptureWindowsAnimated
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.
6 7 8 9 10 11 |
# File 'lib/lolcommits/capturer.rb', line 6 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.
3 4 5 |
# File 'lib/lolcommits/capturer.rb', line 3 def animated_duration @animated_duration end |
#capture_delay ⇒ Object
Returns the value of attribute capture_delay.
3 4 5 |
# File 'lib/lolcommits/capturer.rb', line 3 def capture_delay @capture_delay end |
#capture_device ⇒ Object
Returns the value of attribute capture_device.
3 4 5 |
# File 'lib/lolcommits/capturer.rb', line 3 def capture_device @capture_device end |
#frames_location ⇒ Object
Returns the value of attribute frames_location.
3 4 5 |
# File 'lib/lolcommits/capturer.rb', line 3 def frames_location @frames_location end |
#snapshot_location ⇒ Object
Returns the value of attribute snapshot_location.
3 4 5 |
# File 'lib/lolcommits/capturer.rb', line 3 def snapshot_location @snapshot_location end |
#video_location ⇒ Object
Returns the value of attribute video_location.
3 4 5 |
# File 'lib/lolcommits/capturer.rb', line 3 def video_location @video_location end |