Just for my curiosity, what is your preferred writing style for multi-lines instructions and why?
room.bookings
.for_day(start_date)
.with_client.each do |booking|
room.bookings.
for_day(start_date).
with_client.each do |booking|
room.bookings.
for_day(start_date).
with_client.each do |booking|
Questions are:
- The points before NEWLINE or at start of the next line ?
- Are you adding a tab after the first line ?
Rubocop with AirBnB rules enforce second style.
I do prefer the first one however
Cheers,