Class: ViewAssets::Finder::JsFinder
- Inherits:
-
Finder
- Object
- Finder
- ViewAssets::Finder::JsFinder
show all
- Defined in:
- lib/view_assets/finder/js_finder.rb
Instance Attribute Summary
Attributes inherited from Finder
#action, #assets, #controller, #parsed_manifests
Instance Method Summary
collapse
Methods inherited from Finder
#empty, #initialize, #retrieve, #retrieve_manifest
Instance Method Details
#asset_extension ⇒ Object
9
10
11
|
# File 'lib/view_assets/finder/js_finder.rb', line 9
def asset_extension
JS_EXT
end
|
#asset_type ⇒ Object
13
14
15
|
# File 'lib/view_assets/finder/js_finder.rb', line 13
def asset_type
JS_TYPE
end
|
#assets_path ⇒ Object
4
5
6
7
|
# File 'lib/view_assets/finder/js_finder.rb', line 4
def assets_path
JS_PATH
end
|
#tag(src) ⇒ Object
17
18
19
|
# File 'lib/view_assets/finder/js_finder.rb', line 17
def tag(src)
ViewAssets.tag(:js, src)
end
|