lib/roda/plugins/render.rb
def template_last_modified
          if deps = @dependencies
            deps.map{|f| File.mtime(f)}.max
          else
            File.mtime(@path)
          end
        end
# Return when the template was last modified.  If the template depends on any
# other files, check the modification times of all dependencies and
# return the maximum.
Return when the template was last modified.  If the template depends on any
other files, check the modification times of all dependencies and
return the maximum.
Return when the template was last modified . If the template depends on any other files check the modification times of all dependencies and return the maximum .
def template_last_modified
          if deps = @dependencies
            deps.map{|f| File.mtime(f)}.max
          else
            File.mtime(@path)
          end
        end
def template_last_modified if deps = @dependencies deps . map { | f | File . mtime ( f ) } . max else File . mtime ( @path ) end end
Return when the template was last modified.
Return when the template was last modified .