class MotionWiretap::WiretapChild

Public Class Methods

new(parent) click to toggle source
Calls superclass method MotionWiretap::Wiretap::new
# File lib/motion-wiretap/all/wiretap.rb, line 336
def initialize(parent)
  @parent = parent
  @parent.listen(self)
  @value = @parent.value
  super()
end

Public Instance Methods

teardown() click to toggle source
Calls superclass method MotionWiretap::Wiretap#teardown
# File lib/motion-wiretap/all/wiretap.rb, line 343
def teardown
  @parent.cancel!
  super
end