airbnb / ruby

Ruby Style Guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in Syntax Section

sredmond opened this issue · comments

After reading through these Ruby style guidelines, I'm extremely impressed, but there is a minor typo. In the syntax section, it currently says...

Some will argue that multiline chaining would look OK with the use of {...}, but they should ask themselves - it this code really readable and can't the blocks contents be extracted into nifty methods.

It should say...

... but they should ask themselves (a) if this code is readable and (b) if the contents of the block could be extracted into nifty methods.

Or something similar. Hope this change can get merged in soon!

Thanks for catching this.