module Ytrbium
Constants
- VERSION
Public Class Methods
dsl()
click to toggle source
# File lib/ytrbium.rb, line 10 def self.dsl resolver = file_resolver Module.new do @file_resolver = resolver include Ytrbium::DSL extend self end end
expand(template, binding: nil)
click to toggle source
# File lib/ytrbium.rb, line 6 def self.expand(template, binding: nil) dsl.engine(template).expand(binding) end
file_resolver()
click to toggle source
# File lib/ytrbium.rb, line 27 def self.file_resolver @file_resolver ||= FileResolver.new end
paths()
click to toggle source
# File lib/ytrbium.rb, line 19 def self.paths file_resolver.paths end
paths=(paths)
click to toggle source
# File lib/ytrbium.rb, line 23 def self.paths=(paths) file_resolver.paths = paths end