aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-02-25 11:12:27 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2010-02-25 11:12:27 -0800
commit763f32ab47b96289a4d7b7107411a83164bf69de (patch)
tree6c21a993853835a30c1df111f75df28f888ea040 /activesupport/lib/active_support/core_ext
parentffc45f3e7128f0ef1efca0f39d4717447c15f5b8 (diff)
downloadrails-763f32ab47b96289a4d7b7107411a83164bf69de.tar.gz
rails-763f32ab47b96289a4d7b7107411a83164bf69de.tar.bz2
rails-763f32ab47b96289a4d7b7107411a83164bf69de.zip
metaclass deprecated in 2.3.6
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/object.rb1
-rw-r--r--activesupport/lib/active_support/core_ext/object/metaclass.rb14
2 files changed, 0 insertions, 15 deletions
diff --git a/activesupport/lib/active_support/core_ext/object.rb b/activesupport/lib/active_support/core_ext/object.rb
index 9dc6ca66a4..4f86d9d605 100644
--- a/activesupport/lib/active_support/core_ext/object.rb
+++ b/activesupport/lib/active_support/core_ext/object.rb
@@ -5,7 +5,6 @@ require 'active_support/core_ext/object/try'
require 'active_support/core_ext/object/conversions'
require 'active_support/core_ext/object/instance_variables'
-require 'active_support/core_ext/object/metaclass'
require 'active_support/core_ext/object/singleton_class'
require 'active_support/core_ext/object/misc'
require 'active_support/core_ext/object/extending'
diff --git a/activesupport/lib/active_support/core_ext/object/metaclass.rb b/activesupport/lib/active_support/core_ext/object/metaclass.rb
deleted file mode 100644
index 4b36a243c9..0000000000
--- a/activesupport/lib/active_support/core_ext/object/metaclass.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-require 'active_support/deprecation'
-
-class Object
- # Get object's meta (ghost, eigenclass, singleton) class.
- #
- # Deprecated in favor of Object#singleton_class.
- def metaclass
- class << self
- self
- end
- end
-
- deprecate :metaclass => :singleton_class
-end