Class: Locomotive::Mounter::Reader::FileSystem::ContentAssetsReader
- Defined in:
- lib/locomotive/mounter/reader/file_system/content_assets_reader.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#read ⇒ Array
Build the list of contents assets.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Locomotive::Mounter::Reader::FileSystem::Base
Instance Method Details
#read ⇒ Array
Build the list of contents assets
12 13 14 15 16 17 18 19 20 |
# File 'lib/locomotive/mounter/reader/file_system/content_assets_reader.rb', line 12 def read self.items = {} # prefer an array over a hash self.fetch_from_pages self.fetch_from_content_entries self.items end |