Class: HJ7::Jammit::Tags::IncludeCssTag

Inherits:
AssetTag
  • Object
show all
Defined in:
lib/hj7/jammit.rb

Instance Method Summary collapse

Methods inherited from AssetTag

#render

Constructor Details

#initialize(tag_name, name, tokens) ⇒ IncludeCssTag

Returns a new instance of IncludeCssTag.



84
85
86
87
88
89
# File 'lib/hj7/jammit.rb', line 84

def initialize(tag_name, name, tokens)
  @path = "/assets/stylesheets"
  @ext = "css"
  @asset_type = "stylesheets"
  super tag_name, name, "css", tokens
end