Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Module#redefine_method to keep method visibility #22071

Merged
merged 1 commit into from Oct 26, 2015

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Oct 26, 2015

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.

@rails-bot
Copy link

r? @sgrif

(@rails-bot has picked a reviewer for you, use r? to override)

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.
@yui-knk yui-knk force-pushed the redefine_method_keep_visibility branch from c8b1b9c to 7189e55 Compare October 26, 2015 10:41
sgrif added a commit that referenced this pull request Oct 26, 2015
Make `Module#redefine_method` to keep method visibility
@sgrif sgrif merged commit 6616cb8 into rails:master Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants