From 40bda760675f7cd05d44c66c6daf1f95161a15de Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 25 Dec 2011 11:02:42 -0800 Subject: removes the compatibility method Module#instance_method_names --- activesupport/lib/active_support/core_ext/module/method_names.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activesupport/lib/active_support') 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 -- cgit v1.2.3