Sha256: 05a910f469a4fda76f87aa3c69f2e63d6375b6235cbb182671c6d120a54886b4

Contents?: true

Size: 517 Bytes

Versions: 1

Compression:

Stored size: 517 Bytes

Contents

module RubySpeech
  module SSML
    extend ActiveSupport::Autoload

    autoload :Audio
    autoload :Break
    autoload :Element
    autoload :Emphasis
    autoload :Prosody
    autoload :SayAs
    autoload :Speak
    autoload :Voice

    InvalidChildError = Class.new StandardError

    def self.draw(&block)
      Speak.new.tap do |speak|
        block_return = speak.instance_eval(&block) if block_given?
        speak << block_return if block_return.is_a?(String)
      end
    end
  end # SSML
end # RubySpeech

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_speech-0.1.5 lib/ruby_speech/ssml.rb