Class XML::DOM::ProcessingInstruction
In: lib/xml/dom2/xpath.rb
lib/xml/dom2/processinginstruction.rb
lib/xml/dom/digest.rb
lib/xml/dom/core.rb
Parent: Object

class Comment

  def getDigest(algorithm = Digest::MD5, force = false)
    (!force && @digest) ||
      @digest = algorithm.digest([COMMENT_NODE].pack("N") + DOM.tou16(data)).digest
  end

end

Methods

_getMyLocation   _getMyLocationInXPath   cloneNode   cloneNode   data   data   data=   data=   dump   dump   getDigest   new   new   nodeName   nodeName   nodeType   nodeType   nodeValue   nodeValue   target   target   target=   target=   to_s   to_s  

Public Class methods

new(target, data)

    target: String
    data: String

new(target, data)

    target: String
    data: String

Public Instance methods

[Validate]