lib/adhearsion/call_controller/output/player.rb in adhearsion-2.4.0 vs lib/adhearsion/call_controller/output/player.rb in adhearsion-2.5.0
- old
+ new
@@ -4,11 +4,11 @@
class CallController
module Output
class Player < AbstractPlayer
#
- # @yields The output component before executing it
- # @raises [PlaybackError] if (one of) the given argument(s) could not be played
+ # @yield The output component before executing it
+ # @raise [PlaybackError] if (one of) the given argument(s) could not be played
#
def output(content, options = {}, &block)
options.merge! :ssml => content
component = new_output options
if block