Sha256: c19eb84ce829fc387392dfd33c4c9a917cca357038132bd40a12aa893b4a5424
Contents?: true
Size: 1.59 KB
Versions: 2
Compression:
Stored size: 1.59 KB
Contents
# #-- # # $Id: configuration.rb 531 2006-11-17 17:56:14Z thomas $ # # webgen: template based static website generator # Copyright (C) 2004 Thomas Leitner # # This program is free software; you can redistribute it and/or modify it under the terms of the GNU # General Public License as published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License along with this program; if not, # write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # #++ # module CorePlugins # Used for storing the basic configuration options. class Configuration < Webgen::Plugin infos( :name => 'Core/Configuration', :author => Webgen::AUTHOR, :summary => "Responsible for storing general parameters" ) param 'srcDir', Webgen::SRC_DIR, 'The directory from which the source files are read - is automatically set and cannot be overridden.' param 'outDir', 'output', 'The directory to which the output files are written.' param 'websiteDir', nil, 'The website directory - is automatically set and cannot be overridden!' param 'lang', 'en', 'The default language.' param 'loggerLevel', 2, 'The logging level, ranges from 0 (debug, more verbose) to 3 (error, less verbose)' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webgen-0.4.1 | lib/webgen/plugins/coreplugins/configuration.rb |
webgen-0.4.0 | lib/webgen/plugins/coreplugins/configuration.rb |