Class: Lolcommits::Capturer
- Inherits:
-
Object
- Object
- Lolcommits::Capturer
- Includes:
- Methadone::CLILogging
- Defined in:
- lib/lolcommits/capturer.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#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.
-
#snapshot_location ⇒ Object
Returns the value of attribute snapshot_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.
6 7 8 9 10 11 |
# File 'lib/lolcommits/capturer.rb', line 6 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
#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 |
#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 |