lib/facter/util/resolvers/ssh.rb in facter-4.5.1 vs lib/facter/util/resolvers/ssh.rb in facter-4.5.2
- old
+ new
@@ -1,17 +1,9 @@
# frozen_string_literal: true
module Facter
module Util
module Resolvers
- class Ssh
- attr_accessor :fingerprint, :type, :key, :name
- def initialize(fingerprint, type, key, name)
- @fingerprint = fingerprint
- @type = type
- @key = key
- @name = name
- end
- end
+ Ssh = Struct.new(:fingerprint, :type, :key, :name)
end
end
end