Class: FPM::Fry::Source::Archive::Cache
- Inherits:
-
Struct
- Object
- Struct
- FPM::Fry::Source::Archive::Cache
- Extended by:
- Forwardable
- Defined in:
- lib/fpm/fry/source/archive.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#package ⇒ Object
Returns the value of attribute package.
-
#tempdir ⇒ Object
Returns the value of attribute tempdir.
Instance Method Summary collapse
-
#cachekey ⇒ String
Cachekey which is equal to the checksum.
Instance Attribute Details
#package ⇒ Object
Returns the value of attribute package
63 64 65 |
# File 'lib/fpm/fry/source/archive.rb', line 63 def package @package end |
#tempdir ⇒ Object
Returns the value of attribute tempdir
63 64 65 |
# File 'lib/fpm/fry/source/archive.rb', line 63 def tempdir @tempdir end |
Instance Method Details
#cachekey ⇒ String
Returns cachekey which is equal to the checksum.
69 70 71 |
# File 'lib/fpm/fry/source/archive.rb', line 69 def cachekey @observed_checksum || checksum end |