Class: ViewAssets::Finder::CssFinder

Inherits:
Finder
  • Object
show all
Defined in:
lib/view_assets/finder/css_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

Constructor Details

This class inherits a constructor from ViewAssets::Finder::Finder

Instance Method Details

#asset_extensionObject



8
9
10
# File 'lib/view_assets/finder/css_finder.rb', line 8

def asset_extension
  CSS_EXT
end

#asset_typeObject



12
13
14
# File 'lib/view_assets/finder/css_finder.rb', line 12

def asset_type
  CSS_TYPE
end

#assets_pathObject



4
5
6
# File 'lib/view_assets/finder/css_finder.rb', line 4

def assets_path
  CSS_PATH
end

#tag(href) ⇒ Object



16
17
18
# File 'lib/view_assets/finder/css_finder.rb', line 16

def tag(href)
  ViewAssets.tag(:css, href)
end