Exception: Hanami::Assets::MissingAsset
- Defined in:
- lib/hanami/assets/compiler.rb
Overview
Missing Asset error
Instance Method Summary collapse
-
#initialize(name, sources) ⇒ MissingAsset
constructor
A new instance of MissingAsset.
Constructor Details
#initialize(name, sources) ⇒ MissingAsset
Returns a new instance of MissingAsset.
9 10 11 12 |
# File 'lib/hanami/assets/compiler.rb', line 9 def initialize(name, sources) sources = sources.map(&:to_s).join(', ') super("Missing asset: `#{name}' (sources: #{sources})") end |