Class: Glossarist::Collections::BibliographyCollection
- Inherits:
-
Relaton::Db
- Object
- Relaton::Db
- Glossarist::Collections::BibliographyCollection
- Defined in:
- lib/glossarist/collections/bibliography_collection.rb
Instance Method Summary collapse
- #fetch_all ⇒ Object
-
#initialize(_concepts, global_cache, local_cache) ⇒ BibliographyCollection
constructor
A new instance of BibliographyCollection.
Constructor Details
#initialize(_concepts, global_cache, local_cache) ⇒ BibliographyCollection
Returns a new instance of BibliographyCollection.
8 9 10 11 12 |
# File 'lib/glossarist/collections/bibliography_collection.rb', line 8 def initialize(_concepts, global_cache, local_cache) @version_mismatch = check_cache_version(local_cache) || check_cache_version(global_cache) super(global_cache, local_cache) end |
Instance Method Details
#fetch_all ⇒ Object
14 15 16 17 18 |
# File 'lib/glossarist/collections/bibliography_collection.rb', line 14 def fetch_all(...) raise @version_mismatch if @version_mismatch super end |