Sha256: c2970b7a0d0800226ce9f63550405ab14b1f7d826c01f6961fbf434800c5c30e
Contents?: true
Size: 697 Bytes
Versions: 4
Compression:
Stored size: 697 Bytes
Contents
# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true require 'delegate' # Some developers override various methods on Delegator, 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 methods # so that we always have access to them. # # This is a special case in that we're those developers, so we violate the cs__ # namespacing here to avoid that. class Delegator # breaks from convention to not conflict w/ Object#respond_to? alias_method :cs__delegator_respond_to?, :respond_to? end
Version data entries
4 entries across 4 versions & 1 rubygems