Class: CombindableHerbNonTextNode

Inherits:
HerbNonTextNode show all
Defined in:
lib/nodes/combindable_herb_non_text_node.rb

Instance Attribute Summary

Attributes inherited from HerbNonTextNode

#text_value

Instance Method Summary collapse

Methods inherited from HerbNonTextNode

#initialize, #node_name, #to_s

Methods included from NonTextNode

#contains_only_whitespace?, #extract_text, #text?, #top_level?, #white_space?

Methods included from BaseNode

#shatter?, #shattered_node_list

Constructor Details

This class inherits a constructor from HerbNonTextNode

Instance Method Details

#can_be_combined?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/nodes/combindable_herb_non_text_node.rb', line 2

def can_be_combined?
  true
end