Class: CabezaDeTermo::AssetsPublisher::AssetsFinder
- Inherits:
-
Object
- Object
- CabezaDeTermo::AssetsPublisher::AssetsFinder
- Defined in:
- lib/cabeza-de-termo/assets-publisher/source-finders/assets-finder.rb
Class Method Summary collapse
-
.asset_source_path_of(uri) ⇒ Object
Search for the asset uri in the configured sources.
Instance Method Summary collapse
-
#asset_source_path_of(uri) ⇒ Object
Search for the stylesheet uri in the configured sources.
Class Method Details
.asset_source_path_of(uri) ⇒ Object
Search for the asset uri in the configured sources
10 11 12 |
# File 'lib/cabeza-de-termo/assets-publisher/source-finders/assets-finder.rb', line 10 def self.asset_source_path_of(uri) new.asset_source_path_of(uri) end |
Instance Method Details
#asset_source_path_of(uri) ⇒ Object
Search for the stylesheet uri in the configured sources
17 18 19 |
# File 'lib/cabeza-de-termo/assets-publisher/source-finders/assets-finder.rb', line 17 def asset_source_path_of(uri) find_source_cotaining(uri).asset_path_of(uri) end |