class Confinement::Config::Source
Attributes
assets[RW]
contents[RW]
layouts[RW]
Public Class Methods
new(root:) { |self| ... }
click to toggle source
# File lib/confinement.rb, line 207 def initialize(root:) @root = root yield(self) end
Public Instance Methods
assets_path()
click to toggle source
# File lib/confinement.rb, line 216 def assets_path @root.concat(assets).cleanpath.expand_path end
contents_path()
click to toggle source
# File lib/confinement.rb, line 220 def contents_path @root.concat(contents).cleanpath.expand_path end
layouts_path()
click to toggle source
# File lib/confinement.rb, line 224 def layouts_path @root.concat(layouts).cleanpath.expand_path end