Exception: QiitaTrend::Error::NotExistsCacheError
- Inherits:
-
SyntaxError
- Object
- StandardError
- SyntaxError
- QiitaTrend::Error::NotExistsCacheError
- Defined in:
- lib/qiita_trend/error/not_exists_cache_error.rb
Instance Attribute Summary collapse
-
#cache ⇒ Object
readonly
Returns the value of attribute cache.
Instance Method Summary collapse
-
#initialize(cache) ⇒ NotExistsCacheError
constructor
A new instance of NotExistsCacheError.
- #message ⇒ Object
Constructor Details
#initialize(cache) ⇒ NotExistsCacheError
Returns a new instance of NotExistsCacheError.
8 9 10 |
# File 'lib/qiita_trend/error/not_exists_cache_error.rb', line 8 def initialize(cache) @cache = cache end |
Instance Attribute Details
#cache ⇒ Object (readonly)
Returns the value of attribute cache.
6 7 8 |
# File 'lib/qiita_trend/error/not_exists_cache_error.rb', line 6 def cache @cache end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/qiita_trend/error/not_exists_cache_error.rb', line 12 def "Does not exist cache file #{@cache.full_path}" end |