Module: RD::ParserUtility

Defined in:
lib/rd/parser-util.rb

Instance Method Summary collapse

Instance Method Details

#add_children_to_element(parent, *children) ⇒ Object



4
5
6
7
8
# File 'lib/rd/parser-util.rb', line 4

def add_children_to_element(parent, *children)
#      parent.add_children_under_document_struct(children,
#						tree.document_struct)
  parent.add_children_without_document_struct(children)
end

#treeObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/rd/parser-util.rb', line 10

def tree
  raise NotImplementedError, "Subclass Responsibility"
end