Class: Metanorma::Collection::NullArtifactStore
- Inherits:
-
Object
- Object
- Metanorma::Collection::NullArtifactStore
- Defined in:
- lib/metanorma/collection/artifact_store.rb
Overview
Null object: the store disabled (the default). Never reports a hit, never writes. Lets the renderer treat "no incremental build" as the no-store path without a conditional at every call site (open/closed).
Instance Method Summary collapse
- #clear(*_args) ⇒ Object
- #key?(*_args) ⇒ Boolean
- #path(*_args) ⇒ Object
- #prune_superseded(*_args) ⇒ Object
- #read(*_args) ⇒ Object
- #write(*_args) ⇒ Object
Instance Method Details
#clear(*_args) ⇒ Object
139 |
# File 'lib/metanorma/collection/artifact_store.rb', line 139 def clear(*_args) = nil |
#key?(*_args) ⇒ Boolean
135 |
# File 'lib/metanorma/collection/artifact_store.rb', line 135 def key?(*_args) = false |
#path(*_args) ⇒ Object
134 |
# File 'lib/metanorma/collection/artifact_store.rb', line 134 def path(*_args) = nil |
#prune_superseded(*_args) ⇒ Object
138 |
# File 'lib/metanorma/collection/artifact_store.rb', line 138 def prune_superseded(*_args) = nil |
#read(*_args) ⇒ Object
136 |
# File 'lib/metanorma/collection/artifact_store.rb', line 136 def read(*_args) = nil |
#write(*_args) ⇒ Object
137 |
# File 'lib/metanorma/collection/artifact_store.rb', line 137 def write(*_args) = nil |