Sha256: 26238e907599d38917f69a2da7256ffb653557a9987827fad3037d8ae313b802
Contents?: true
Size: 711 Bytes
Versions: 2
Compression:
Stored size: 711 Bytes
Contents
module RubySpeech module SSML extend ActiveSupport::Autoload eager_autoload do autoload :Audio autoload :Break autoload :Element autoload :Emphasis autoload :Prosody autoload :SayAs autoload :Speak autoload :Voice end InvalidChildError = Class.new StandardError SSML_NAMESPACE = 'http://www.w3.org/2001/10/synthesis' def self.draw(&block) Speak.new.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_speech-0.4.0 | lib/ruby_speech/ssml.rb |
ruby_speech-0.3.4 | lib/ruby_speech/ssml.rb |