Class: HJ7::Jammit::Tags::IncludeJsTag

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) ⇒ IncludeJsTag

Returns a new instance of IncludeJsTag.



68
69
70
71
72
73
# File 'lib/hj7/jammit.rb', line 68

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