mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
AutoFix RuboCop Layout/EmptyLinesAroundAccessModifier
This commit is contained in:
parent
86f2485b2d
commit
223c84cd2c
2 changed files with 1 additions and 8 deletions
|
|
@ -29,14 +29,6 @@ Gemspec/RequiredRubyVersion:
|
|||
Exclude:
|
||||
- 'grape_logging.gemspec'
|
||||
|
||||
# Offense count: 1
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: around, only_before
|
||||
Layout/EmptyLinesAroundAccessModifier:
|
||||
Exclude:
|
||||
- 'lib/grape_logging/formatters/default.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ module GrapeLogging
|
|||
end
|
||||
|
||||
private
|
||||
|
||||
def format_hash(hash)
|
||||
hash.keys.sort.map { |key| "#{key}=#{hash[key]}" }.join(' ')
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue