A special Webgen::Path class for handling with file system paths.
Create a new object with absolute path path for the file system path fs_path.
# File lib/webgen/source/filesystem.rb, line 15 def initialize(path, fs_path) super(path) {|mode| File.open(fs_path, mode) } @fs_path = fs_path WebsiteAccess.website.cache[[:fs_path, @fs_path]] = File.mtime(@fs_path) @meta_info['modified_at'] = File.mtime(@fs_path) end
Generated with the Darkfish Rdoc Generator 2.