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

Support class method visibility modifiers in DefEndAlignment #1768

Merged

Conversation

til
Copy link
Contributor

@til til commented Apr 7, 2015

Make sure DefEndAlignment recognizes def lines preceded with
private_class_method or public_class_method, and does not complain about
misaligned end, like this:

private_class_method def self.foo
  ...
end

@bbatsov
Copy link
Collaborator

bbatsov commented Apr 22, 2015

Looks ok, but has to be rebased.

Make sure DefEndAlignment recognizes def lines preceded with
private_class_method or public_class_method, and does not complain about
misaligned end, like this:

private_class_method def self.foo
  ...
end
@til til force-pushed the def-end-alignment-class-method-modifiers branch from f006694 to d15466a Compare April 22, 2015 06:55
@til
Copy link
Contributor Author

til commented Apr 22, 2015

OK, rebased and pushed.

bbatsov added a commit that referenced this pull request Apr 22, 2015
…fiers

Support class method visibility modifiers in DefEndAlignment
@bbatsov bbatsov merged commit 3ef309a into rubocop:master Apr 22, 2015
@bbatsov
Copy link
Collaborator

bbatsov commented Apr 22, 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.

2 participants