Sha256: 0baf9d047f7142c10771532e76399d41b76a11da7694b3d8bc43cb2f18952c50
Contents?: true
Size: 499 Bytes
Versions: 10
Compression:
Stored size: 499 Bytes
Contents
# Copyright (c) 2020 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
10 entries across 10 versions & 1 rubygems