Sha256: 06f0a8a0ed8e2ae68060e72ef7c65d517dc0f43cbee33c04934b8f610a83701a
Contents?: true
Size: 847 Bytes
Versions: 11
Compression:
Stored size: 847 Bytes
Contents
module RubySpeech module SSML extend ActiveSupport::Autoload eager_autoload do autoload :Audio autoload :Break autoload :Desc autoload :Element autoload :Emphasis autoload :Mark autoload :P autoload :Phoneme autoload :Prosody autoload :S autoload :SayAs autoload :Speak autoload :Sub autoload :Voice end InvalidChildError = Class.new StandardError SSML_NAMESPACE = 'http://www.w3.org/2001/10/synthesis' def self.draw(*args, &block) Speak.new(*args).tap do |speak| block_return = speak.eval_dsl_block &block speak << block_return if block_return.is_a?(String) end end def self.import(other) Element.import other end end # SSML end # RubySpeech ActiveSupport::Autoload.eager_autoload!
Version data entries
11 entries across 11 versions & 1 rubygems