aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/basic_object.rb
blob: d4d06b2aa44a5897dd70b5806d8894b541a63702 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
require 'active_support/deprecation'
require 'active_support/proxy_object'

module ActiveSupport
  # :nodoc:
  class BasicObject < ProxyObject
    def self.inherited(*)
      ::ActiveSupport::Deprecation.warn 'ActiveSupport::BasicObject is deprecated! Use ActiveSupport::ProxyObject instead.'
      super
    end
  end
end