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

Rubocop offences #1054

Closed
wants to merge 11 commits into from
Closed

Rubocop offences #1054

wants to merge 11 commits into from

Conversation

tryzniak
Copy link

Here are some rubocop offences that I've worked on for the issue #945 .

else
nil
end
start_exists = element_start && parent && parent.element_start
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of the local variable start_exists I'd rather have a little private method start_exists? - would make this even neater (imo) :)

@PragTob
Copy link
Member

PragTob commented Feb 11, 2015

Hi thanks for this 👍

Sorry about the failed build, that's my fault :( Will fix soon.

I made 2 minor remarks, after that this is ready to be merged - I'll probably squash it before as the changes fit together rather nicely.

Thanks so much for contributing to shoes! :)

@tryzniak
Copy link
Author

@PragTob you're welcome. Definitely squash them all :)

@PragTob
Copy link
Member

PragTob commented Feb 11, 2015

Committed as 2ca7adf - thanks a ton 👍 ❤️ :)

@PragTob PragTob closed this Feb 11, 2015
@tryzniak tryzniak deleted the rubocop-offences branch February 12, 2015 08:39
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