Class: RubySpeech::GRXML::Element
Instance Attribute Summary
#parent
Class Method Summary
collapse
Instance Method Summary
collapse
#+, #<<, #==, #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
.module ⇒ Object
14
15
16
|
# File 'lib/ruby_speech/grxml/element.rb', line 14
def self.module
GRXML
end
|
.namespace ⇒ Object
6
7
8
|
# File 'lib/ruby_speech/grxml/element.rb', line 6
def self.namespace
GRXML_NAMESPACE
end
|
.root_element ⇒ Object
10
11
12
|
# File 'lib/ruby_speech/grxml/element.rb', line 10
def self.root_element
Grammar
end
|
Instance Method Details
#regexp_content ⇒ Object
24
25
26
|
# File 'lib/ruby_speech/grxml/element.rb', line 24
def regexp_content "(#{children.map(&:regexp_content).join})"
end
|
#to_doc ⇒ Object
20
21
22
|
# File 'lib/ruby_speech/grxml/element.rb', line 20
def to_doc
document
end
|