Class: Locomotive::Steam::Adapters::Filesystem::YAMLLoaders::ThemeAsset
- Inherits:
-
Object
- Object
- Locomotive::Steam::Adapters::Filesystem::YAMLLoaders::ThemeAsset
- Defined in:
- lib/locomotive/steam/adapters/filesystem/yaml_loaders/theme_asset.rb
Instance Attribute Summary
Attributes included from Locomotive::Steam::Adapters::Filesystem::YAMLLoader
Instance Method Summary collapse
Methods included from Locomotive::Steam::Adapters::Filesystem::YAMLLoader
#_load, #initialize, #safe_json_file_load, #safe_json_load, #safe_yaml_load, #template_extensions
Instance Method Details
#load(scope) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/locomotive/steam/adapters/filesystem/yaml_loaders/theme_asset.rb', line 11 def load(scope) super [].tap do |list| each_file do |filepath, folder| list << { source: filepath, folder: folder } end end end |