lib/ruby_speech/ssml/element.rb
def inherit(node)
        inherit_attrs node.attributes
        node.children.each do |c|
          self << c.dup
        end
        self
      end
# Inherit the attributes and children of an XML::Node
#
# @param [XML::Node] node the node to inherit
# @return [self]
Inherit the attributes and children of an XML::Node
Inherit the attributes and children of an XML :: Node
def inherit(node)
        inherit_attrs node.attributes
        node.children.each do |c|
          self << c.dup
        end
        self
      end
def inherit ( node ) inherit_attrs node . attributes node . children . each do | c | self << c . dup end self end
Inherit the attributes and children of an XML::Node
Inherit the attributes and children of an XML :: Node
None
self
node
node the node to inherit
node the node to inherit