Sha256: 9481bd1662d5c9face2d0637c710220ff2967e59144861461a1cdc0ec14476db
Contents?: true
Size: 874 Bytes
Versions: 2
Compression:
Stored size: 874 Bytes
Contents
# -*- encoding: utf-8 -*- module Webgen # Namespace for all classes that provide source paths. # # = Implementing a source class # # Source classes provide access to the source paths on which the source handlers act. # # A source class only needs to respond to the method +paths+ which needs to return a set of paths # for the source. The returned paths must respond to the method <tt>changed?</tt> (has to return # +true+ if the paths has changed since the last webgen run) which is not implemented in the # default Path class. One can either derive a specialized path class or define singleton methods # on each path object. # module Source autoload :Base, 'webgen/source/base' autoload :FileSystem, 'webgen/source/filesystem' autoload :Stacked, 'webgen/source/stacked' autoload :Resource, 'webgen/source/resource' end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gettalong-webgen-0.5.7.20090227 | lib/webgen/source.rb |
webgen-0.5.7 | lib/webgen/source.rb |