Sha256: a80e250e1c7f622222acc3da0f956d6eb269f7afda5e2dbbfa80919318f7d648
Contents?: true
Size: 434 Bytes
Versions: 6
Compression:
Stored size: 434 Bytes
Contents
module OneLogin module RubySaml # SAML2 Auxiliary class # class Utils # Given a REXML::Element instance, return the concatenation of all child text nodes. Assumes # that there all children other than text nodes can be ignored (e.g. comments). If nil is # passed, nil will be returned. def self.element_text(element) element.texts.map(&:value).join if element end end end end
Version data entries
6 entries across 6 versions & 1 rubygems