class CabezaDeTermo::Assets::AssetReference

A reference to an asset. The reference_id can be any string, such as

'/vendor/bootstrap/css/bootstrap.min.css'

or

'main_layout'

or anything at all.

Public Instance Methods

collect_assets_with(assets_collector) click to toggle source

Add the asset reference to the assets_collector

# File lib/cabeza-de-termo/assets/bundles/asset-reference.rb, line 14
def collect_assets_with(assets_collector)
        assets_collector.include reference_id
end