Class: ActionView::Helpers::AssetTagHelper::StylesheetSources

Inherits:
AssetCollection show all
Includes:
StylesheetAsset
Defined in:
lib/action_view/helpers/asset_tag_helper.rb

Constant Summary collapse

EXPANSIONS =
{}

Constants included from StylesheetAsset

ActionView::Helpers::AssetTagHelper::StylesheetAsset::DIRECTORY, ActionView::Helpers::AssetTagHelper::StylesheetAsset::EXTENSION

Constants inherited from AssetCollection

AssetCollection::Cache, AssetCollection::CacheGuard

Class Method Summary collapse

Instance Method Summary collapse

Methods included from StylesheetAsset

#directory, #extension, #public_directory

Methods inherited from AssetCollection

create, #initialize, #write_asset_file_contents

Constructor Details

This class inherits a constructor from ActionView::Helpers::AssetTagHelper::AssetCollection

Class Method Details

.expansionsObject



801
802
803
# File 'lib/action_view/helpers/asset_tag_helper.rb', line 801

def self.expansions
  EXPANSIONS
end

Instance Method Details

#expand_sourcesObject



805
806
807
# File 'lib/action_view/helpers/asset_tag_helper.rb', line 805

def expand_sources
  @sources.first == :all ? all_asset_files : validate_sources!
end