class MotionWiretap::WiretapCombiner
Public Class Methods
new(parent, combiner)
click to toggle source
Calls superclass method
MotionWiretap::WiretapChild::new
# File lib/motion-wiretap/all/wiretap.rb, line 370 def initialize(parent, combiner) @combiner = combiner super(parent) end
Public Instance Methods
trigger_changed(*values)
click to toggle source
passes the values through the combiner before passing up to the parent implementation
# File lib/motion-wiretap/all/wiretap.rb, line 377 def trigger_changed(*values) Wiretap.instance_method(:trigger_changed).bind(self).call(@combiner.call(*values)) end