Class: MotionWiretap::WiretapTarget

Inherits:
Wiretap
  • Object
show all
Defined in:
lib/motion-wiretap/all/wiretap.rb

Direct Known Subclasses

WiretapKvo, WiretapProc

Instance Attribute Summary collapse

Attributes inherited from Wiretap

#value

Instance Method Summary collapse

Methods inherited from Wiretap

#and_then, #cancel!, #combine, #dealloc, #enqueue, #filter, #listen, #map, #on_error, #queue, #reduce, #teardown, #trigger_changed, #trigger_changed_on, #trigger_completed, #trigger_completed_on, #trigger_error, #trigger_error_on

Constructor Details

#initialize(target, &block) ⇒ WiretapTarget

Returns a new instance of WiretapTarget.



217
218
219
220
# File 'lib/motion-wiretap/all/wiretap.rb', line 217

def initialize(target, &block)
  @target = target
  super(&block)
end

Instance Attribute Details

#targetObject (readonly)

Returns the value of attribute target.



215
216
217
# File 'lib/motion-wiretap/all/wiretap.rb', line 215

def target
  @target
end