mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
rubocop: fix offences of the Layout/MultilineHashBraceLayout cop
This commit is contained in:
parent
99e1c67c36
commit
e23fbf2343
2 changed files with 2 additions and 9 deletions
|
@ -13,14 +13,6 @@ Gemspec/RequiredRubyVersion:
|
|||
Exclude:
|
||||
- 'pry.gemspec'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: symmetrical, new_line, same_line
|
||||
Layout/MultilineHashBraceLayout:
|
||||
Exclude:
|
||||
- 'lib/pry/pry_instance.rb'
|
||||
|
||||
# Offense count: 9
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
|
|
|
@ -203,7 +203,8 @@ class Pry
|
|||
end
|
||||
|
||||
def sticky_locals
|
||||
{ _in_: input_ring,
|
||||
{
|
||||
_in_: input_ring,
|
||||
_out_: output_ring,
|
||||
_pry_: self,
|
||||
_ex_: last_exception && last_exception.wrapped_exception,
|
||||
|
|
Loading…
Add table
Reference in a new issue