Class: REXML::DTD::ElementDecl
- Defined in:
 - lib/rexml/dtd/elementdecl.rb
 
Constant Summary collapse
- START =
 "<!ELEMENT"- START_RE =
 /^\s*#{START}/um- PATTERN_RE =
 /^\s*#{START}\s+((?:[:\w_][-\.\w_]*:)?[-!\*\.\w_]*)(.*?)>/
Instance Attribute Summary
Attributes inherited from Child
Instance Method Summary collapse
- #initialize(match) ⇒ ElementDecl constructor
 
Methods inherited from Child
#bytes, #document, #next_sibling=, #previous_sibling=, #remove, #replace_with
Methods included from Node
#each_recursive, #find_first_recursive, #indent, #index_in_parent, #next_sibling_node, #parent?, #previous_sibling_node, #to_s
Constructor Details
#initialize(match) ⇒ ElementDecl
      11 12 13 14  | 
    
      # File 'lib/rexml/dtd/elementdecl.rb', line 11 def initialize match @name = match[1] @rest = match[2] end  |