Class: FaucetPipelineRails::Manifest
- Inherits:
-
Object
- Object
- FaucetPipelineRails::Manifest
- Includes:
- Singleton
- Defined in:
- lib/faucet_pipeline_rails/manifest.rb
Instance Method Summary collapse
Instance Method Details
#fetch(asset_name) ⇒ Object
7 8 9 10 11 |
# File 'lib/faucet_pipeline_rails/manifest.rb', line 7 def fetch(asset_name) manifest.fetch(asset_name) rescue KeyError raise "The asset '#{asset_name}' was not in the manifest" end |