lib/abide_dev_utils/xccdf/parser/objects/digest_object.rb
# Splits a digest into a label and digest
Splits a digest into a label and digest
Splits a digest into a label and digest
def split_labeled_digest(digest_part)
            @labeled_digest_part_cache = {} unless defined?(@labeled_digest_part_cache)
            return @labeled_digest_part_cache[digest_part] if @labeled_digest_part_cache.key?(digest_part)
            @labeled_digest_part_cache[digest_part] = digest_part.split(':')
            @labeled_digest_part_cache[digest_part]
          end
def split_labeled_digest ( digest_part ) @labeled_digest_part_cache = { } unless defined? ( @labeled_digest_part_cache ) return @labeled_digest_part_cache [ digest_part ] if @labeled_digest_part_cache . key? ( digest_part ) @labeled_digest_part_cache [ digest_part ] = digest_part . split ( ':' ) @labeled_digest_part_cache [ digest_part ] end
Splits a digest into a label and digest
Splits a digest into a label and digest
digest_part