Class: CabezaDeTermo::AssetsPublisher::SourceLocation

Inherits:
Location
  • Object
show all
Defined in:
lib/cabeza-de-termo/assets-publisher/locations/source-location.rb

Instance Method Summary collapse

Methods inherited from Location

class_for_uri, class_named, #configuration, from, #initialize, #is_absolute?

Constructor Details

This class inherits a constructor from CabezaDeTermo::AssetsPublisher::Location

Instance Method Details

#real_path_of(uri) ⇒ Object

Answer the path of the asset uri



8
9
10
# File 'lib/cabeza-de-termo/assets-publisher/locations/source-location.rb', line 8

def real_path_of(uri)
	(AssetsFinder.asset_source_path_of uri).expand_path
end