Class: Locomotive::Mounter::Reader::FileSystem::ThemeAssetsReader

Inherits:
Base
  • Object
show all
Defined in:
lib/locomotive/mounter/reader/file_system/theme_assets_reader.rb

Instance Attribute Summary

Attributes inherited from Base

#items, #runner

Instance Method Summary collapse

Methods inherited from Base

#initialize, #mounting_point

Constructor Details

This class inherits a constructor from Locomotive::Mounter::Reader::FileSystem::Base

Instance Method Details

#readArray

Build the list of theme assets from the public folder with eager loading.

Returns:

  • (Array)

    The cached list of theme assets



12
13
14
# File 'lib/locomotive/mounter/reader/file_system/theme_assets_reader.rb', line 12

def read
  ThemeAssetsArray.new(self.root_dir)
end