Class: Nisetegami::AssetProvider
- Inherits:
-
Roadie::AssetPipelineProvider
- Object
- Roadie::AssetPipelineProvider
- Nisetegami::AssetProvider
- Defined in:
- lib/nisetegami/asset_provider.rb
Instance Method Summary collapse
Instance Method Details
#asset_file(name) ⇒ Object
8 9 10 11 |
# File 'lib/nisetegami/asset_provider.rb', line 8 def asset_file(name) basename = remove_prefix(name) assets[basename] end |
#exists?(name) ⇒ Boolean
4 5 6 |
# File 'lib/nisetegami/asset_provider.rb', line 4 def exists?(name) !asset_file(name).nil? end |