We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Inspired by https://github.com/airbnb/ruby#multiline-if-newline
It is better to differentiate between conditions and body in this case
if @reservation_alteration.checkin == @reservation.start_date && @reservation_alteration.checkout == (@reservation.start_date + @reservation.nights) redirect_to_alteration @reservation_alteration end
rather than in this
This can be extended to other syntax constructs like unless, while, etc.
unless
while
The text was updated successfully, but these errors were encountered:
Layout/EmptyLineAfterMultilineCondition
Successfully merging a pull request may close this issue.
Inspired by https://github.com/airbnb/ruby#multiline-if-newline
It is better to differentiate between conditions and body in this case
rather than in this
This can be extended to other syntax constructs like
unless
,while
, etc.The text was updated successfully, but these errors were encountered: