Sha256: 60a3ab5dc2c90e0ba52fe439f81b580d8340b33902397369b629662f4ac15cbc
Contents?: true
Size: 506 Bytes
Versions: 31
Compression:
Stored size: 506 Bytes
Contents
#-- # Copyright (c) 2010-2012 Engine Yard, Inc. # Copyright (c) 2007-2009 Sun Microsystems, Inc. # This source code is available under the MIT license. # See the file LICENSE.txt for details. #++ module Warbler module PathmapHelper def apply_pathmaps(config, file, pathmaps) file = file.to_s file = file[2..-1] if file =~ /^\.\// pathmaps = config.pathmaps.send(pathmaps) pathmaps.each do |p| file = file.pathmap(p) end if pathmaps file end end end
Version data entries
31 entries across 31 versions & 2 rubygems