summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklós Fazekas <mfazekas@szemafor.com>2021-08-05 15:45:45 +0200
committerMiklós Fazekas <mfazekas@szemafor.com>2021-08-05 15:45:45 +0200
commitd45ee3449ba8b97df94680e75a42c79463e5f06d (patch)
tree99c97e7f9a40edec4fddd5ea2eb496c35f591bc5
parent2810426e3e75a770554df4ca745eff1cc329bc32 (diff)
downloadnet-ssh-d45ee3449ba8b97df94680e75a42c79463e5f06d.tar.gz
Don't call Delegator ctor
-rw-r--r--lib/net/ssh/known_hosts.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/net/ssh/known_hosts.rb b/lib/net/ssh/known_hosts.rb
index df19e97..530bd41 100644
--- a/lib/net/ssh/known_hosts.rb
+++ b/lib/net/ssh/known_hosts.rb
@@ -10,8 +10,7 @@ module Net
module HostKeyEntries
# regular public key entry
class PubKey < Delegator
- def initialize(key, comment: nil)
- super()
+ def initialize(key, comment: nil) # rubocop:disable Lint/MissingSuper
@key = key
@comment = comment
end