Class: Infoboxer::Tree::HTMLClosingTag
- Defined in:
- lib/infoboxer/tree/html.rb
Overview
Represents orphan closing HTML tag. See HTMLOpeningTag for explanation.
Instance Attribute Summary collapse
- 
  
    
      #tag  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute tag. 
Attributes inherited from Node
Instance Method Summary collapse
- #descr ⇒ Object
- 
  
    
      #initialize(tag)  ⇒ HTMLClosingTag 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of HTMLClosingTag. 
Methods inherited from Node
#==, #children, coder, def_readers, #first?, #index, #inspect, #next_siblings, #prev_siblings, #siblings, #text, #text_, #to_s, #to_tree
Methods included from Navigation::Wikipath
Methods included from Navigation::Sections::Node
Methods included from Navigation::Shortcuts::Node
#bold?, #categories, #external_links, #heading?, #headings, #images, #infobox, #infoboxes, #italic?, #lists, #paragraphs, #tables, #templates, #wikilinks
Methods included from Navigation::Lookup::Node
#_lookup, #_lookup_children, #_lookup_next_siblings, #_lookup_parents, #_lookup_prev_sibling, #_lookup_prev_siblings, #_lookup_siblings, #_matches?, #lookup, #lookup_children, #lookup_next_siblings, #lookup_parents, #lookup_prev_sibling, #lookup_prev_siblings, #lookup_siblings, #matches?, #parent?
Constructor Details
#initialize(tag) ⇒ HTMLClosingTag
| 67 68 69 | # File 'lib/infoboxer/tree/html.rb', line 67 def initialize(tag) @tag = tag end | 
Instance Attribute Details
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
| 71 72 73 | # File 'lib/infoboxer/tree/html.rb', line 71 def tag @tag end | 
Instance Method Details
#descr ⇒ Object
| 73 74 75 | # File 'lib/infoboxer/tree/html.rb', line 73 def descr "#{clean_class}:#{tag}" end |