class SamlTool::Reader::Content
A string with memory of the element that was the source of its content. Typically, the source will be a Nokogiri::XML::NodeSet. So:
content --> text from an element. content.source --> the Nokogiri NodeSet the text was extracted from.
Attributes
source[R]
Public Class Methods
new(source)
click to toggle source
Calls superclass method
# File lib/saml_tool/reader.rb, line 41 def initialize(source) @source = source super(source.to_s) end