Please link your account with es.easysoftware.com at https://git.easy.cz/profile/account

Commit 560d8886 authored by Lukáš Pokorný's avatar Lukáš Pokorný

Update CODE_STYLE.md

parent c43d5a0c
......@@ -186,10 +186,13 @@ Don't mix the Ruby 1.9 hash syntax with hash rockets in the same hash literal. W
# BAD
{ a: 1, 'b' => 2 }
# GOOD
# ACCEPTABLE
{ :a => 1, 'b' => 2 }
```
# GOOD - PREFERABLE
{ a: 1, b: 2 }
```
https://github.com/rubocop-hq/ruby-style-guide#hash-literals = ruby19_no_mixed_keys
---
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment