Class: Upkeep::Dependencies::Unknown

Inherits:
Base
  • Object
show all
Defined in:
lib/upkeep/dependencies.rb

Instance Attribute Summary

Attributes inherited from Base

#key, #metadata, #source

Instance Method Summary collapse

Methods inherited from Base

#cache_key, #identity?, #identity_key, #matches_change?, #narrow_frame_safe?, #precision, #to_h

Constructor Details

#initialize(source:, metadata: {}) ⇒ Unknown

Returns a new instance of Unknown.



324
325
326
327
328
329
330
# File 'lib/upkeep/dependencies.rb', line 324

def initialize(source:, metadata: {})
  super(
    source: source,
    key: Digest::SHA256.hexdigest(.inspect)[0, 16],
    metadata: 
  )
end

Instance Method Details

#visibilityObject



332
333
334
# File 'lib/upkeep/dependencies.rb', line 332

def visibility
  :private
end