File: parser-util.rb

package info (click to toggle)
rdtool 0.6.38-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 940 kB
  • sloc: ruby: 8,213; lisp: 387; sh: 33; makefile: 16
file content (14 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

module RD
  module ParserUtility
    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

    def tree
      raise NotImplementedError, "Subclass Responsibility"
    end
  end
end