lib/abide_dev_utils/xccdf/parser/objects/digest_object.rb
# Returns a SHA256 digest of the object, including the digests of all
# children
Returns a SHA256 digest of the object, including the digests of all
children
Returns a SHA256 digest of the object including the digests of all children
def digest
            return @digest if defined?(@digest)
            parts = [labeled_self_digest]
            children.each { |child| parts << child.digest } unless children.empty?
            @digest = parts.join('|')
            @digest
          end
def digest return @digest if defined? ( @digest ) parts = [ labeled_self_digest ] children . each { | child | parts << child . digest } unless children . empty? @digest = parts . join ( '|' ) @digest end
Returns a SHA256 digest of the object, including the digests of all
children
Returns a SHA256 digest of the object including the digests of all children