aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/module/remove_method_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make `Module#redefine_method` to keep method visibilityyui-knk2015-10-261-1/+19
| | | | | | | Before this commit `Module#redefine_method` always changes visibility of redefined method to `public`. This commit changes behavior of Module#redefine_method` to keep method visibility.
* Add Module#remove_possible_singleton_methodAndrew White2015-10-211-3/+15
| | | | | This is primarily to fix method redefinition warnings in class_attribute but may be of use in other places where we define singleton methods.
* added remove_method core_ext testsAnand2011-11-071-0/+29