Sha256: 29dd0b2929d417a75f2b926590697d355e96b033ce56c016cac05fd583f8568a

Contents?: true

Size: 427 Bytes

Versions: 20

Compression:

Stored size: 427 Bytes

Contents

# frozen_string_literal: true

module ActiveSupport
  # = Active Support Proxy \Object
  #
  # A class with no predefined methods that behaves similarly to Builder's
  # BlankSlate. Used for proxy classes.
  class ProxyObject < ::BasicObject
    undef_method :==
    undef_method :equal?

    # Let ActiveSupport::ProxyObject at least raise exceptions.
    def raise(*args)
      ::Object.send(:raise, *args)
    end
  end
end

Version data entries

20 entries across 20 versions & 6 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/proxy_object.rb
activesupport-7.1.5.1 lib/active_support/proxy_object.rb
activesupport-7.1.5 lib/active_support/proxy_object.rb
activesupport-7.1.4.2 lib/active_support/proxy_object.rb
activesupport-7.1.4.1 lib/active_support/proxy_object.rb
activesupport-7.1.4 lib/active_support/proxy_object.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/proxy_object.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/proxy_object.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/proxy_object.rb
activesupport-7.1.3.4 lib/active_support/proxy_object.rb
activesupport-7.1.3.2 lib/active_support/proxy_object.rb
activesupport-7.1.3.1 lib/active_support/proxy_object.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/proxy_object.rb
activesupport-7.1.3 lib/active_support/proxy_object.rb
activesupport-7.1.2 lib/active_support/proxy_object.rb
activesupport-7.1.1 lib/active_support/proxy_object.rb
activesupport-7.1.0 lib/active_support/proxy_object.rb
activesupport-7.1.0.rc2 lib/active_support/proxy_object.rb
activesupport-7.1.0.rc1 lib/active_support/proxy_object.rb
activesupport-7.1.0.beta1 lib/active_support/proxy_object.rb