Sha256: b2e509f2ebb66d894b78e66c0549869bac54580a850387d0836816e5a997700c

Contents?: true

Size: 847 Bytes

Versions: 12

Compression:

Stored size: 847 Bytes

Contents

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

12 entries across 12 versions & 2 rubygems

Version Path
gettalong-webgen-0.5.4.20080929 lib/webgen/source.rb
gettalong-webgen-0.5.5.20081001 lib/webgen/source.rb
gettalong-webgen-0.5.5.20081010 lib/webgen/source.rb
gettalong-webgen-0.5.5.20081012 lib/webgen/source.rb
gettalong-webgen-0.5.6.20081020 lib/webgen/source.rb
webgen-0.5.0 lib/webgen/source.rb
webgen-0.5.2 lib/webgen/source.rb
webgen-0.5.3 lib/webgen/source.rb
webgen-0.5.1 lib/webgen/source.rb
webgen-0.5.4 lib/webgen/source.rb
webgen-0.5.5 lib/webgen/source.rb
webgen-0.5.6 lib/webgen/source.rb