1
0
Fork 0
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:
Kyrylo Silin 2019-02-25 00:55:58 +02:00
parent 99e1c67c36
commit e23fbf2343
2 changed files with 2 additions and 9 deletions

View file

@ -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.

View file

@ -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,