module Poise::Helpers::TemplateContent
A resource mixin to add a new kind of attribute, template content. TODO
@since 1.0.0
Private Instance Methods
maybe_eval(val)
click to toggle source
Evaluate lazy blocks if needed
# File lib/poise/helpers/template_content.rb, line 158 def maybe_eval(val) if val.is_a?(Chef::DelayedEvaluator) instance_eval(&val) else val end end