lib/abide_dev_utils/xccdf/parser/objects/digest_object.rb
def sorted_digest_parts(dgst)
            @sorted_digest_parts_cache = {} unless defined?(@sorted_digest_parts_cache)
            return @sorted_digest_parts_cache[dgst] if @sorted_digest_parts_cache.key?(dgst)

            @sorted_digest_parts_cache ||= {}
            @sorted_digest_parts_cache[dgst] = dgst.split('|').sort_by { |part| split_labeled_digest(part).first }
            @sorted_digest_parts_cache[dgst]
          end
# Excludes instance variables that are not used in the digest
Excludes instance variables that are not used in the digest
Excludes instance variables that are not used in the digest
def sorted_digest_parts(dgst)
            @sorted_digest_parts_cache = {} unless defined?(@sorted_digest_parts_cache)
            return @sorted_digest_parts_cache[dgst] if @sorted_digest_parts_cache.key?(dgst)
            @sorted_digest_parts_cache ||= {}
            @sorted_digest_parts_cache[dgst] = dgst.split('|').sort_by { |part| split_labeled_digest(part).first }
            @sorted_digest_parts_cache[dgst]
          end
def sorted_digest_parts ( dgst ) @sorted_digest_parts_cache = { } unless defined? ( @sorted_digest_parts_cache ) return @sorted_digest_parts_cache [ dgst ] if @sorted_digest_parts_cache . key? ( dgst ) @sorted_digest_parts_cache ||= { } @sorted_digest_parts_cache [ dgst ] = dgst . split ( '|' ) . sort_by { | part | split_labeled_digest ( part ) . first } @sorted_digest_parts_cache [ dgst ] end
Excludes instance variables that are not used in the digest
Excludes instance variables that are not used in the digest
dgst