Class: MotionWiretap::WiretapTarget
- Defined in:
- lib/motion-wiretap/all/wiretap.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Attributes inherited from Wiretap
Instance Method Summary collapse
-
#initialize(target, &block) ⇒ WiretapTarget
constructor
A new instance of WiretapTarget.
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
#target ⇒ Object (readonly)
Returns the value of attribute target.
215 216 217 |
# File 'lib/motion-wiretap/all/wiretap.rb', line 215 def target @target end |