Class Jekyll::StaticFile
In: lib/jekyll/static_file.rb
Parent: Object

Methods

destination   modified?   mtime   new   path   reset_cache   write  

Public Class methods

Initialize a new StaticFile.

site - The Site. base - The String path to the <source>. dir - The String path between <source> and the file. name - The String filename of the file.

Reset the mtimes cache (for testing purposes).

Returns nothing.

Public Instance methods

Obtain destination path.

dest - The String path to the destination dir.

Returns destination file path.

Is source path modified?

Returns true if modified since last write.

Returns last modification time for this file.

Returns source file path.

Write the static file to the destination directory (if modified).

dest - The String path to the destination dir.

Returns false if the file was not modified since last time (no-op).

[Validate]