Sha256: 5d07ebff4d8ea0312fbb5293e6a6961fd600f74030f0750120165bc3e0d277ef
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true # Base compiler from which other compilers can inherit class Propshaft::Compiler attr_reader :assembly def initialize(assembly) @assembly = assembly end # Override this in a specific compiler def compile(logical_path, input) raise NotImplementedError end private def url_prefix @url_prefix ||= File.join(assembly.config.relative_url_root.to_s, assembly.config.prefix.to_s).chomp("/") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
propshaft-0.8.0 | lib/propshaft/compiler.rb |