lib/rsaml/subject.rb
def to_xml(xml=Builder::XmlMarkup.new)
      xml.tag!('saml:Subject') {
        xml << identifier.to_xml unless identifier.nil?
        xml << subject_confirmations.map { |sc| sc.to_xml }.join
      }
    end
# Construct an XML fragment representing the subject
Construct an XML fragment representing the subject
Construct an XML fragment representing the subject
def to_xml(xml=Builder::XmlMarkup.new)
      xml.tag!('saml:Subject') {
        xml << identifier.to_xml unless identifier.nil?
        xml << subject_confirmations.map { |sc| sc.to_xml }.join
      }
    end
def to_xml ( xml = Builder :: XmlMarkup . new ) xml . tag! ( 'saml:Subject' ) { xml << identifier . to_xml unless identifier . nil? xml << subject_confirmations . map { | sc | sc . to_xml } . join } end
Construct an XML fragment representing the subject
Construct an XML fragment representing the subject
xml
new