1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/basic_object.rb
2012-12-17 10:56:27 -05:00

11 lines
321 B
Ruby

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