Class: GOM::Storage::Filesystem::Collection::Fetcher
- Inherits:
-
Object
- Object
- GOM::Storage::Filesystem::Collection::Fetcher
- Defined in:
- lib/gom/storage/filesystem/collection/fetcher.rb
Overview
A class collection fetcher for the filesystem adapter.
Instance Attribute Summary collapse
-
#drafts ⇒ Object
Returns the value of attribute drafts.
-
#view ⇒ Object
Returns the value of attribute view.
Instance Method Summary collapse
-
#initialize(drafts, view) ⇒ Fetcher
constructor
A new instance of Fetcher.
Constructor Details
#initialize(drafts, view) ⇒ Fetcher
Returns a new instance of Fetcher.
8 9 10 |
# File 'lib/gom/storage/filesystem/collection/fetcher.rb', line 8 def initialize(drafts, view) @drafts, @view = drafts, view end |
Instance Attribute Details
#drafts ⇒ Object
Returns the value of attribute drafts.
5 6 7 |
# File 'lib/gom/storage/filesystem/collection/fetcher.rb', line 5 def drafts @drafts end |
#view ⇒ Object
Returns the value of attribute view.
6 7 8 |
# File 'lib/gom/storage/filesystem/collection/fetcher.rb', line 6 def view @view end |