class Terraspace::Compiler::Erb::Render
Public Class Methods
new(mod, src_path)
click to toggle source
# File lib/terraspace/compiler/erb/render.rb, line 3 def initialize(mod, src_path) @mod, @src_path = mod, src_path end
Public Instance Methods
build()
click to toggle source
# File lib/terraspace/compiler/erb/render.rb, line 7 def build context = Context.new(@mod) RenderMePretty.result(@src_path, context: context) end