Class: Upkeep::Dependencies::Unknown
- Defined in:
- lib/upkeep/dependencies.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(source:, metadata: {}) ⇒ Unknown
constructor
A new instance of Unknown.
- #visibility ⇒ Object
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.
345 346 347 348 349 350 351 |
# File 'lib/upkeep/dependencies.rb', line 345 def initialize(source:, metadata: {}) super( source: source, key: Digest::SHA256.hexdigest(.inspect)[0, 16], metadata: ) end |
Instance Method Details
#visibility ⇒ Object
353 354 355 |
# File 'lib/upkeep/dependencies.rb', line 353 def visibility :private end |