class CabezaDeTermo::AssetsPublisher::AbsoluteLocation

Public Instance Methods

is_absolute?() click to toggle source

Asking

# File lib/cabeza-de-termo/assets-publisher/locations/absolute-location.rb, line 13
def is_absolute?()
        true
end
real_path_of(uri) click to toggle source

Answer the path of the asset uri.

# File lib/cabeza-de-termo/assets-publisher/locations/absolute-location.rb, line 7
def real_path_of(uri)
        Pathname.new(destination_path.to_s + uri.to_s).expand_path
end

Protected Instance Methods

destination_path() click to toggle source

Answer the path of the folder where compiled assets are published

# File lib/cabeza-de-termo/assets-publisher/locations/absolute-location.rb, line 20
def destination_path
        configuration.destination_path
end