Class: MilkTea::PackageSourceResolver::SourceIdentity
- Inherits:
-
Object
- Object
- MilkTea::PackageSourceResolver::SourceIdentity
show all
- Defined in:
- lib/milk_tea/packages/source_resolver.rb
Instance Method Summary
collapse
Instance Method Details
#cache_key ⇒ Object
22
23
24
|
# File 'lib/milk_tea/packages/source_resolver.rb', line 22
def cache_key
nil
end
|
#cacheable? ⇒ Boolean
26
27
28
|
# File 'lib/milk_tea/packages/source_resolver.rb', line 26
def cacheable?
!cache_key.nil?
end
|
#kind ⇒ Object
14
15
16
|
# File 'lib/milk_tea/packages/source_resolver.rb', line 14
def kind
raise NotImplementedError, "#{self.class} must implement #kind"
end
|
#lock_attributes ⇒ Object
18
19
20
|
# File 'lib/milk_tea/packages/source_resolver.rb', line 18
def lock_attributes
raise NotImplementedError, "#{self.class} must implement #lock_attributes"
end
|