class Confinement::Config::Compiler
Attributes
output_assets[RW]
output_directory_index[RW]
output_root[RW]
Public Class Methods
new(root:) { |self| ... }
click to toggle source
# File lib/confinement.rb, line 182 def initialize(root:) @root = root yield(self) self.output_root ||= default_output_root end
Public Instance Methods
default_output_root()
click to toggle source
# File lib/confinement.rb, line 201 def default_output_root "tmp/build-#{Confinement.env}" end
output_assets_path()
click to toggle source
# File lib/confinement.rb, line 197 def output_assets_path @root.concat(output_root, output_assets).cleanpath.expand_path end
output_root_path()
click to toggle source
# File lib/confinement.rb, line 193 def output_root_path @root.concat(output_root).cleanpath.expand_path end