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

Only check for modifier before def #2007

Merged
merged 1 commit into from
Jul 2, 2015

Conversation

fphilipe
Copy link
Contributor

@fphilipe fphilipe commented Jul 2, 2015

Previously, only certain methods primarily related to method visibility were allowed before a def. This changes the behavior such that anything before def is allowed.

Closes #1467

@fphilipe fphilipe force-pushed the allow-modifier-before-def branch from 9121882 to 0d97899 Compare July 2, 2015 13:48
Previously, only certain methods primarily related to method visibility
were allowed before a `def`. This changes the behavior such that
anything before `def` is allowed.

Closes rubocop#1467
@fphilipe fphilipe force-pushed the allow-modifier-before-def branch from 0d97899 to bd86735 Compare July 2, 2015 13:54
@bbatsov
Copy link
Collaborator

bbatsov commented Jul 2, 2015

Looks good to me. @jonas054 WDYT?

@jonas054
Copy link
Collaborator

jonas054 commented Jul 2, 2015

👍 Good!

bbatsov added a commit that referenced this pull request Jul 2, 2015
@bbatsov bbatsov merged commit b29e02a into rubocop:master Jul 2, 2015
@bbatsov
Copy link
Collaborator

bbatsov commented Jul 2, 2015

Thanks!

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.

3 participants