Sha256: b0d159cdb926a492a29cfb054c840b7dca007c830655c3b3be7f3d5c4f316235
Contents?: true
Size: 724 Bytes
Versions: 4
Compression:
Stored size: 724 Bytes
Contents
# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'contrast/utils/object_share' # Some developers override various methods on Module, which can often involve # changing expected method parity/behavior which in turn prevents us from being # able to reliably use affected methods. Let's alias these method so that we # always have access to them. class Module alias_method :cs__name, :name alias_method :cs__constants, :constants alias_method :cs__const_defined?, :const_defined? alias_method :cs__const_get, :const_get alias_method :cs__const_set, :const_set alias_method :cs__autoload?, :autoload? end
Version data entries
4 entries across 4 versions & 1 rubygems