Sha256: 494c5f11922f32e8455a4d9c281b59796aaf7e1958679697e9010812ede66a79

Contents?: true

Size: 677 Bytes

Versions: 25

Compression:

Stored size: 677 Bytes

Contents

# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

# 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

25 entries across 25 versions & 1 rubygems

Version Path
contrast-agent-4.4.1 lib/contrast/extension/delegator.rb
contrast-agent-4.4.0 lib/contrast/extension/delegator.rb
contrast-agent-4.3.2 lib/contrast/extension/delegator.rb
contrast-agent-4.3.1 lib/contrast/extension/delegator.rb
contrast-agent-4.3.0 lib/contrast/extension/delegator.rb
contrast-agent-4.2.0 lib/contrast/extension/delegator.rb
contrast-agent-4.1.0 lib/contrast/extension/delegator.rb
contrast-agent-4.0.0 lib/contrast/extension/delegator.rb
contrast-agent-3.16.0 lib/contrast/extension/delegator.rb
contrast-agent-3.15.0 lib/contrast/extension/delegator.rb
contrast-agent-3.14.0 lib/contrast/extension/delegator.rb
contrast-agent-3.13.2 lib/contrast/extension/delegator.rb
contrast-agent-3.13.1 lib/contrast/extension/delegator.rb
contrast-agent-3.13.0 lib/contrast/extension/delegator.rb
contrast-agent-3.12.2 lib/contrast/extension/delegator.rb
contrast-agent-3.12.1 lib/contrast/extension/delegator.rb
contrast-agent-3.12.0 lib/contrast/extension/delegator.rb
contrast-agent-3.11.0 lib/contrast/extensions/ruby_core/delegator.rb
contrast-agent-3.10.2 lib/contrast/extensions/ruby_core/delegator.rb
contrast-agent-3.10.1 lib/contrast/extensions/ruby_core/delegator.rb