class Roda::RodaPlugins::Render::TemplateMtimeWrapper
def initialize(template_class, path, dependencies, *template_args)
def initialize(template_class, path, dependencies, *template_args) @template_class = template_class @path = path @template_args = template_args @dependencies = ([path] + Array(dependencies)) if dependencies @mtime = template_last_modified if File.file?(path) @template = template_class.new(path, *template_args) end