Sha256: 65add38995b46e3695e4df61b2b8f72ed70b8a55dc1bd26fd22f49d3fd2179d6
Contents?: true
Size: 401 Bytes
Versions: 74
Compression:
Stored size: 401 Bytes
Contents
module Jasmine class AssetPipelineMapper def initialize(config, asset_expander) @config = config @asset_expander = asset_expander end def map_src_paths(src_paths) src_paths.map do |src_path| expanded_assets = @asset_expander.call(@config.src_dir, src_path) expanded_assets.empty? ? src_path : expanded_assets end.flatten.uniq end end end
Version data entries
74 entries across 59 versions & 2 rubygems