Class: Hanamismith::Extensions::Asset

Inherits:
Object
  • Object
show all
Defined in:
lib/hanamismith/extensions/asset.rb

Overview

Ensures assets are compiled.

Instance Method Summary collapse

Instance Method Details

#callObject



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