class Webgen::Source::FileSystem
This class is used to read source paths from a directory in the file system.
Attributes
glob[R]
The glob (see Dir.glob for details) that is used to specify which paths under the root path should be returned by paths.
root[R]
The root path from which paths are read.
Public Class Methods
new(website, root, glob = '{*,**/*}')
Create a new file system source for the root path root using the provided glob. If root is not an absolute path, the website directory will be prepended.
Public Instance Methods
paths()
Return all paths under the root path which match the glob.