aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-12-25 11:02:42 -0800
committerXavier Noria <fxn@hashref.com>2011-12-25 11:11:49 -0800
commit40bda760675f7cd05d44c66c6daf1f95161a15de (patch)
treee6c52868507108545ccaa7a813f8bc90f72ee231 /activesupport
parent4e1999d20e4135d586135bbd37d4e2a86ca8975b (diff)
downloadrails-40bda760675f7cd05d44c66c6daf1f95161a15de.tar.gz
rails-40bda760675f7cd05d44c66c6daf1f95161a15de.tar.bz2
rails-40bda760675f7cd05d44c66c6daf1f95161a15de.zip
removes the compatibility method Module#instance_method_names
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/CHANGELOG.md7
-rw-r--r--activesupport/lib/active_support/core_ext/module/method_names.rb4
2 files changed, 5 insertions, 6 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 50c83478d1..19aea0b27e 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,7 +1,10 @@
## Rails 4.0.0 (unreleased) ##
-* BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger
- from Ruby stdlib.
+* Deletes the compatibility method Module#instance_method_names,
+ use Module#instance_methods from now on (which returns symbols). *fxn*
+
+* BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger
+ from Ruby stdlib.
## Rails 3.2.0 (unreleased) ##
diff --git a/activesupport/lib/active_support/core_ext/module/method_names.rb b/activesupport/lib/active_support/core_ext/module/method_names.rb
index 72d7091eb1..1de3089ac6 100644
--- a/activesupport/lib/active_support/core_ext/module/method_names.rb
+++ b/activesupport/lib/active_support/core_ext/module/method_names.rb
@@ -1,8 +1,4 @@
class Module
- def instance_method_names(*args)
- instance_methods(*args).map { |name| name.to_s }
- end
-
def method_names(*args)
methods(*args).map { |name| name.to_s }
end