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