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.
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
#visibility ⇒ Object
332 333 334 |
# File 'lib/upkeep/dependencies.rb', line 332 def visibility :private end |