Class: HerbWhiteSpaceTextNode
- Inherits:
-
HerbTextNode
- Object
- HerbTextNode
- HerbWhiteSpaceTextNode
- Defined in:
- lib/nodes/herb_white_space_text_node.rb
Instance Attribute Summary
Attributes inherited from HerbTextNode
Instance Method Summary collapse
Methods inherited from HerbTextNode
#can_be_combined?, #initialize, #strip_whitespace?, #to_s
Methods included from TextNode
#amount_of_ending_whitespace, #amount_of_starting_whitespace, #contains_alpha_characters?, #has_leading_or_trailing_whitespace?, #has_variables?, #html?, #remove_leading_and_trailing_whitespace, #strip_whitespace?, #text?, #top_level?
Methods included from NodeProcessing
Methods included from BaseNode
#shatter?, #shattered_node_list
Constructor Details
This class inherits a constructor from HerbTextNode
Instance Method Details
#extract_text(text_extractor, node_tree) ⇒ Object
3 4 5 |
# File 'lib/nodes/herb_white_space_text_node.rb', line 3 def extract_text( text_extractor, node_tree ) text_extractor.white_space( self ) end |
#node_name ⇒ Object
7 8 9 |
# File 'lib/nodes/herb_white_space_text_node.rb', line 7 def node_name "herb_white_space_text_node" end |
#white_space? ⇒ Boolean
11 12 13 |
# File 'lib/nodes/herb_white_space_text_node.rb', line 11 def white_space? true end |