Class: Lolcommits::Capturer

Inherits:
Object
  • Object
show all
Includes:
Methadone::CLILogging
Defined in:
lib/lolcommits/capturer.rb

Direct Known Subclasses

CaptureFake, CaptureLinux, CaptureMac, CaptureWindows

Instance Attribute Summary collapse

Instance Method Summary collapse

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_delayObject

Returns the value of attribute capture_delay.



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

def capture_delay
  @capture_delay
end

#capture_deviceObject

Returns the value of attribute capture_device.



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

def capture_device
  @capture_device
end

#fontObject

Returns the value of attribute font.



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

def font
  @font
end

#snapshot_locationObject

Returns the value of attribute snapshot_location.



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

def snapshot_location
  @snapshot_location
end