Use squiggly heredocs

This is a feature which was introduced in Ruby 2.3, and makes it much
easier to write readable heredocs.
This commit is contained in:
Javi Martín
2019-10-25 22:41:32 +02:00
parent e21565628f
commit d218e09654
3 changed files with 50 additions and 47 deletions

View File

@@ -61,6 +61,9 @@ Layout/ExtraSpacing:
Layout/IndentAssignment:
Enabled: true
Layout/IndentHeredoc:
Enabled: true
Layout/IndentationConsistency:
EnforcedStyle: indented_internal_methods