Class: ViewAssets::Manager::CssModifier

Inherits:
Modifier
  • Object
show all
Defined in:
lib/view_assets/manager/modifier.rb

Constant Summary collapse

DIRECTIVE =
::ViewAssets::Finder::Directive.new(CSS_TYPE)

Instance Method Summary collapse

Methods inherited from Modifier

#analyize, #generate_requirements_block, #map, #modify, #remove, #retrieve_type, #update, #update_index, #update_map, #update_requirements

Constructor Details

#initializeCssModifier

Returns a new instance of CssModifier.



195
196
197
198
# File 'lib/view_assets/manager/modifier.rb', line 195

def initialize
  @map = ::ViewAssets::Manager::CssMap.new
  @map_value = @map.draw
end

Instance Method Details

#asset_pathObject



209
210
211
# File 'lib/view_assets/manager/modifier.rb', line 209

def asset_path
  ::ViewAssets::CSS_PATH
end

#directiveObject



201
202
203
# File 'lib/view_assets/manager/modifier.rb', line 201

def directive
  DIRECTIVE
end

#extObject



205
206
207
# File 'lib/view_assets/manager/modifier.rb', line 205

def ext
  CSS_EXT
end