diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2019-02-25 02:16:10 +0200 |
---|---|---|
committer | Kyrylo Silin <silin@kyrylo.org> | 2019-02-25 02:21:54 +0200 |
commit | 9e783ae9af968d4c628cdc6a952e75f5e99a0629 (patch) | |
tree | e9901ccf548c278aa2ad006d365b26f845469b2a /lib/pry/slop | |
parent | 3bc48e3828f2e622788be8f67aaf0f53fd801f95 (diff) | |
download | pry-9e783ae9af968d4c628cdc6a952e75f5e99a0629.tar.gz |
rubocop: fix the Layout/MultilineOperationIndentation cop
Diffstat (limited to 'lib/pry/slop')
-rw-r--r-- | lib/pry/slop/option.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pry/slop/option.rb b/lib/pry/slop/option.rb index 2f2e060c..98a1e3fd 100644 --- a/lib/pry/slop/option.rb +++ b/lib/pry/slop/option.rb @@ -142,8 +142,8 @@ class Pry::Slop # Returns the String inspection text. def inspect - "#<Slop::Option [-#{short} | --#{long}" + - "#{'=' if expects_argument?}#{'=?' if accepts_optional_argument?}]" + + "#<Slop::Option [-#{short} | --#{long}" \ + "#{'=' if expects_argument?}#{'=?' if accepts_optional_argument?}]" \ " (#{description}) #{config.inspect}" end |