Method: Sym::App::PrivateKey::KeySourceCheck#initialize

Defined in:
lib/sym/app/private_key/key_source_check.rb

#initialize(name:, reducted: false, input: ->(detector) { detector.opts[:key] }, output:) ⇒ KeySourceCheck

Returns a new instance of KeySourceCheck.



18
19
20
21
22
23
24
25
26
27
# File 'lib/sym/app/private_key/key_source_check.rb', line 18

def initialize(name:,
               reducted: false,
               input: ->(detector) { detector.opts[:key] },
               output:)

  self.name     = name
  self.reducted = reducted
  self.input    = input
  self.output   = output
end