Class: Lolcommits::Capturer

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_durationObject

Returns the value of attribute animated_duration.



6
7
8
# File 'lib/lolcommits/capturer.rb', line 6

def animated_duration
  @animated_duration
end

#capture_delayObject

Returns the value of attribute capture_delay.



6
7
8
# File 'lib/lolcommits/capturer.rb', line 6

def capture_delay
  @capture_delay
end

#capture_deviceObject

Returns the value of attribute capture_device.



6
7
8
# File 'lib/lolcommits/capturer.rb', line 6

def capture_device
  @capture_device
end

#frames_locationObject

Returns the value of attribute frames_location.



6
7
8
# File 'lib/lolcommits/capturer.rb', line 6

def frames_location
  @frames_location
end

#snapshot_locationObject

Returns the value of attribute snapshot_location.



6
7
8
# File 'lib/lolcommits/capturer.rb', line 6

def snapshot_location
  @snapshot_location
end

#video_locationObject

Returns the value of attribute video_location.



6
7
8
# File 'lib/lolcommits/capturer.rb', line 6

def video_location
  @video_location
end