Sha256: b08bf6d496856bb845a5e1108bde7be5a76073845745fd55975d83cb560eec5f
Contents?: true
Size: 499 Bytes
Versions: 13
Compression:
Stored size: 499 Bytes
Contents
# Copyright (c) 2021 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'contrast/agent/assess/tracker' # Our patch of the Object#freeze method, allowing any Object we track to # function with our Contrast::Agent::Assess::Finalizers::Hash class Object alias_method :cs__patched_object_freeze, :freeze def freeze Contrast::Agent::Assess::Tracker.pre_freeze(self) cs__patched_object_freeze end end
Version data entries
13 entries across 13 versions & 1 rubygems