Method: Assette::File#relative_target_path

Defined in:
lib/assette/file.rb

#relative_target_pathObject



91
92
93
94
95
96
97
98
# File 'lib/assette/file.rb', line 91

def relative_target_path
  tp = target_path
  Assette.config.file_paths.each do |fp|
    f = File.expand_path(fp)
    tp.gsub! f, ''
  end
  tp
end