grasshoppergroup/adhearsion-cpa — pull request #3 by christophersansone (2014-07-22 04:20:13+00:00)
Title: Punchblock::Event::Complete event now bubbles

I have a situation where I would like to detect a tone asynchronously and be made aware when it is complete, regardless of reason. Currently, the block passed into `#detect_tones!` will only be called when a tone is detected, not for other reasons such as timing out. Like other Punchblock commands, I should be able to register an event handler on `Punchblock::Event::Complete` that will execute upon completion, but it currently does not work because the event is not bubbling. A simple call to `throw :pass` resolves the issue.