Class: Hatemile::Util::Html::HTMLDOMTextNode Abstract

Inherits:
HTMLDOMNode
  • Object
show all
Defined in:
lib/hatemile/util/html/html_dom_text_node.rb

Overview

This class is abstract.

The HTMLDOMTextNode interface contains the methods for access of the HTML TextNode.

Direct Known Subclasses

NokogiriLib::NokogiriHTMLDOMTextNode

Instance Method Summary collapse

Methods inherited from HTMLDOMNode

#append_text, #get_data, #get_parent_element, #get_text_content, #insert_after, #insert_before, #prepend_text, #remove_node, #replace_node, #set_data

Instance Method Details

#set_text_content(text) ⇒ Object

This method is abstract.

Change the text content of text node.

Parameters:

  • text (String)

    The new text content.



37
38
39
# File 'lib/hatemile/util/html/html_dom_text_node.rb', line 37

def set_text_content(text)
  # Interface method
end