Class: Alula::Plugins::StylesheetAsset

Inherits:
GenericAsset
  • Object
show all
Defined in:
lib/alula/plugins/assets.rb

Instance Method Summary collapse

Methods inherited from GenericAsset

default, #initialize, #render, type

Constructor Details

This class inherits a constructor from Alula::Plugins::GenericAsset

Instance Method Details

#content(asset) ⇒ Object



33
34
35
# File 'lib/alula/plugins/assets.rb', line 33

def content(asset)
  "<link rel=\"stylesheet\" href=\"#{asset}\" media=\"screen,projection\" type=\"text/css\">"
end