Sha256: 4e25c2ec525496fdd4ea7a1b9ba96ad1e3aa27e855817a3d17e0dedad509bffb

Contents?: true

Size: 357 Bytes

Versions: 207

Compression:

Stored size: 357 Bytes

Contents

module ActiveSupport
  # 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

207 entries across 198 versions & 19 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.1/lib/active_support/proxy_object.rb
activesupport-4.2.11.3 lib/active_support/proxy_object.rb
activesupport-4.2.11.2 lib/active_support/proxy_object.rb
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/proxy_object.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/proxy_object.rb
activesupport-5.1.7 lib/active_support/proxy_object.rb
activesupport-5.1.7.rc1 lib/active_support/proxy_object.rb
activesupport-5.1.6.2 lib/active_support/proxy_object.rb
activesupport-5.0.7.2 lib/active_support/proxy_object.rb
activesupport-4.2.11.1 lib/active_support/proxy_object.rb
activesupport-5.1.6.1 lib/active_support/proxy_object.rb
activesupport-5.0.7.1 lib/active_support/proxy_object.rb
activesupport-4.2.11 lib/active_support/proxy_object.rb
activesupport-5.1.6 lib/active_support/proxy_object.rb
activesupport-5.0.7 lib/active_support/proxy_object.rb
tdiary-5.0.8 vendor/bundle/gems/activesupport-5.1.5/lib/active_support/proxy_object.rb
activesupport-5.1.5 lib/active_support/proxy_object.rb
activesupport-5.1.5.rc1 lib/active_support/proxy_object.rb
pract6-0.1.0 .gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/proxy_object.rb
activesupport-4.2.10 lib/active_support/proxy_object.rb