NAME

Rubric::Config - the configuration data for a Rubric

VERSION

 $Id: Config.pm,v 1.3 2004/11/25 05:58:54 rjbs Exp $

DESCRIPTION

Rubric::Config provides access to the configuration data for a Rubric. The basic implementation stores its configuration in YAML in a text file found using Config::Auto's find_file function.

METHODS

read_config

This method returns the config data, if loaded. If it hasn't already been loaded, it finds and parses the configuration file, then returns the data.

dsn

This method returns the DSN to be used by Rubric::DBI to connect to the Rubric's database.

uri_root

This method returns the URI for the root of the Rubric::WebApp install.

css_href

This method returns the URI for the stylesheet to be used by Rubric::WebApp pages.

template_path

This method returns the INCLUDE_PATH passed to Template when creating the template renderer.

TODO

AUTHOR

Ricardo SIGNES, <rjbs@cpan.org>

BUGS

Please report any bugs or feature requests to bug-rubric@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT

Copyright 2004 Ricardo SIGNES. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.