diff options
author | yui-knk <spiketeika@gmail.com> | 2015-10-26 18:12:51 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-10-26 19:40:46 +0900 |
commit | 7189e5554e44928698b01c59e833edfbebf0c6be (patch) | |
tree | 4ad237151b10a7efdeea8f7884c7940c306da5a8 /railties/test | |
parent | 09463183867f702d6ec66fce964ecb9f7ae0d98a (diff) | |
download | rails-7189e5554e44928698b01c59e833edfbebf0c6be.tar.gz rails-7189e5554e44928698b01c59e833edfbebf0c6be.tar.bz2 rails-7189e5554e44928698b01c59e833edfbebf0c6be.zip |
Make `Module#redefine_method` to keep method visibility
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.
Diffstat (limited to 'railties/test')
0 files changed, 0 insertions, 0 deletions