diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-17 11:04:24 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-04-17 11:04:24 +0900 |
commit | 315dcb6751c8e10f40189a9838f418e06df45560 (patch) | |
tree | f1fa1120b0597cdbae49b1f5e6f01ec0faf419e6 /guides | |
parent | 7217e2d6b0f0986914e076774d1c5920e8397211 (diff) | |
download | rails-315dcb6751c8e10f40189a9838f418e06df45560.tar.gz rails-315dcb6751c8e10f40189a9838f418e06df45560.tar.bz2 rails-315dcb6751c8e10f40189a9838f418e06df45560.zip |
Prefer to indent and no blank line after private/protected [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/contributing_to_ruby_on_rails.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md index c33d523c0e..f86589bdf1 100644 --- a/guides/source/contributing_to_ruby_on_rails.md +++ b/guides/source/contributing_to_ruby_on_rails.md @@ -247,7 +247,7 @@ Rails follows a simple set of coding style conventions: * Two spaces, no tabs (for indentation). * No trailing whitespace. Blank lines should not have any spaces. -* Indent after private/protected. +* Indent and no blank line after private/protected. * Use Ruby >= 1.9 syntax for hashes. Prefer `{ a: :b }` over `{ :a => :b }`. * Prefer `&&`/`||` over `and`/`or`. * Prefer class << self over self.method for class methods. |