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

Avoid #method shadowing #3846

Merged
merged 1 commit into from
Nov 27, 2020

Conversation

spaghetticode
Copy link
Member

@spaghetticode spaghetticode commented Nov 20, 2020

Ruby already defines the method Object#method, so variables and parameters are renamed in order to avoid shadowing that method.

Description

Checklist:

Ruby already defines the method `#method`, so variables and parameters
are renamed in order to avoid shadowing that method.
@spaghetticode spaghetticode self-assigned this Nov 20, 2020
@spaghetticode spaghetticode marked this pull request as ready for review November 20, 2020 16:13
@aldesantis aldesantis merged commit 47dacba into solidusio:master Nov 27, 2020
@aldesantis aldesantis deleted the spaghetticode/shadow-method branch November 27, 2020 10:00
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.

4 participants