diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-07-01 22:26:54 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-07-01 22:26:54 -0300 |
commit | cad3a1308604c9892c4d1cd5d588d93ca1d43f4c (patch) | |
tree | 11fd994a83c7011132c3232cca6aa5cd389265e8 /activesupport/lib | |
parent | 4b97ce5eb16cc20207516387fba98bf577e2e281 (diff) | |
download | rails-cad3a1308604c9892c4d1cd5d588d93ca1d43f4c.tar.gz rails-cad3a1308604c9892c4d1cd5d588d93ca1d43f4c.tar.bz2 rails-cad3a1308604c9892c4d1cd5d588d93ca1d43f4c.zip |
Remove deprecated AS::BasicObject, use AS::ProxyObject instead
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support.rb | 1 | ||||
-rw-r--r-- | activesupport/lib/active_support/basic_object.rb | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb index ffa6ffda4f..5e1fe9e556 100644 --- a/activesupport/lib/active_support.rb +++ b/activesupport/lib/active_support.rb @@ -39,7 +39,6 @@ module ActiveSupport eager_autoload do autoload :BacktraceCleaner - autoload :BasicObject autoload :ProxyObject autoload :Benchmarkable autoload :Cache diff --git a/activesupport/lib/active_support/basic_object.rb b/activesupport/lib/active_support/basic_object.rb deleted file mode 100644 index 91aac6db64..0000000000 --- a/activesupport/lib/active_support/basic_object.rb +++ /dev/null @@ -1,11 +0,0 @@ -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 |