diff options
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/CHANGELOG.md | 7 | ||||
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/method_names.rb | 4 |
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 |