Class: Roadie::AssetPipelineProvider
- Inherits:
-
AssetProvider
- Object
- AssetProvider
- Roadie::AssetPipelineProvider
- Defined in:
- lib/roadie/asset_pipeline_provider.rb
Overview
A provider that hooks into Rail’s Asset Pipeline.
Usage:
config.roadie.provider = AssetPipelineProvider.new('prefix')
Instance Attribute Summary
Attributes inherited from AssetProvider
Instance Method Summary collapse
-
#find(name) ⇒ String
Looks up the file with the given name in the asset pipeline.
Methods inherited from AssetProvider
Constructor Details
This class inherits a constructor from Roadie::AssetProvider
Instance Method Details
permalink #find(name) ⇒ String
Looks up the file with the given name in the asset pipeline
12 13 14 |
# File 'lib/roadie/asset_pipeline_provider.rb', line 12 def find(name) asset_file(name).to_s.strip end |