diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2015-12-15 00:53:52 -0200 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2015-12-15 00:53:52 -0200 |
commit | b5291f95996743067bbec5a32f9c6cf0d34b36c7 (patch) | |
tree | 9933fe5c9c224a175fb49fceff829b8b4441c970 /lib/gitlab/backend | |
parent | d1f1c5c60bfd58f966671d7895c1ef612e8f8897 (diff) | |
download | gitlab-ce-b5291f95996743067bbec5a32f9c6cf0d34b36c7.tar.gz |
Fixed Rubocop offenses
Diffstat (limited to 'lib/gitlab/backend')
-rw-r--r-- | lib/gitlab/backend/shell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb index 87ac30b5ffe..459e3d6bcdb 100644 --- a/lib/gitlab/backend/shell.rb +++ b/lib/gitlab/backend/shell.rb @@ -2,7 +2,7 @@ module Gitlab class Shell class Error < StandardError; end - class KeyAdder < Struct.new(:io) + KeyAdder = Struct.new(:io) do def add_key(id, key) key.gsub!(/[[:space:]]+/, ' ').strip! io.puts("#{id}\t#{key}") |