Module: JSI::PathedNode

Included in:
Base
Defined in:
lib/jsi/pathed_node.rb

Overview

this module represents a node in a document.

including class MUST define

  • #jsi_document [Object] the document
  • #jsi_ptr [JSI::Ptr] a pointer to the node in the document

Instance Method Summary collapse

Instance Method Details

#jsi_node_contentObject

the content of this node


12
13
14
15
# File 'lib/jsi/pathed_node.rb', line 12

def jsi_node_content
  content = jsi_ptr.evaluate(jsi_document)
  content
end