Class: RubySpeech::SSML::Element

Inherits:
Object
  • Object
show all
Includes:
GenericElement
Defined in:
lib/ruby_speech/ssml/element.rb

Direct Known Subclasses

Audio, Break, Desc, Emphasis, Mark, P, Phoneme, Prosody, S, SayAs, Speak, Sub, Voice

Instance Attribute Summary

Attributes included from GenericElement

#parent

Class Method Summary collapse

Instance Method Summary collapse

Methods included from GenericElement

#+, #<<, #==, #base_uri, #base_uri=, #build, #children, #clone, #create_node, #embed, #eql?, #eval_dsl_block, included, #inherit, #initialize, #inspect, #mass_assign, #method_missing, #namespace=, #namespace_href, #node, #nokogiri_children, #read_attr, #respond_to_missing?, #string, #to_s, #traverse, #version, #version=, #write_attr

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RubySpeech::GenericElement

Class Method Details

.moduleObject



14
15
16
# File 'lib/ruby_speech/ssml/element.rb', line 14

def self.module
  SSML
end

.namespaceObject



6
7
8
# File 'lib/ruby_speech/ssml/element.rb', line 6

def self.namespace
  SSML_NAMESPACE
end

.root_elementObject



10
11
12
# File 'lib/ruby_speech/ssml/element.rb', line 10

def self.root_element
  Speak
end

Instance Method Details

#to_docObject



20
21
22
# File 'lib/ruby_speech/ssml/element.rb', line 20

def to_doc
  document
end