Exception: Hanami::Assets::MissingAsset
- Defined in:
- lib/hanami/assets/compiler.rb
Overview
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.
6 7 8 9 |
# File 'lib/hanami/assets/compiler.rb', line 6 def initialize(name, sources) sources = sources.map(&:to_s).join(', ') super("Missing asset: `#{ name }' (sources: #{ sources })") end |