Class: Hanamismith::Extensions::Asset
- Inherits:
-
Object
- Object
- Hanamismith::Extensions::Asset
- Defined in:
- lib/hanamismith/extensions/asset.rb
Overview
Ensures assets are compiled.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
13 14 15 16 |
# File 'lib/hanamismith/extensions/asset.rb', line 13 def call logger.error { "Unable to compile assets. Try: `hanami assets compile`." } unless run true end |