Skip to content

Avoid #method shadowing#3846

Merged
aldesantis merged 1 commit intosolidusio:masterfrom
nebulab:spaghetticode/shadow-method
Nov 27, 2020
Merged

Avoid #method shadowing#3846
aldesantis merged 1 commit intosolidusio:masterfrom
nebulab:spaghetticode/shadow-method

Conversation

@spaghetticode
Copy link
Copy Markdown
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