class Roda::RodaPlugins::Render::TemplateMtimeWrapper

def modified?

the template object and the modification time. Other return false.
If the template file has been updated, return true and update
def modified?
  begin
    mtime = template_last_modified
  rescue
    # ignore errors
  else
    if mtime != @mtime
      @mtime = mtime
      reset_template
      return true
    end
  end
  false
end