NAME

DDG::Publisher::DirRole - The role for a directory in the publisher system

VERSION

version 1042

ATTRIBUTES

key

The key inside the site for this directory. Required for instantiation.

site

Site object for this directory. Required for instantiation.

files

Contains a hash of the files for this directory.

fullpath

This hash also contains all files, but with the full path on the filesystem as key, so that collides can be detected.

pages_coderefs

This attribute contains all the coderefs for the pages that have to be generated for this specific directory. It uses pages as builder. Normally you override pages in your site class.

statics_coderefs

This attribute contains all the coderefs for the static pages that have to be generated for this specific directory. It uses statics as builder. Normally you override statics in your site class. A static file is not generated for every language

web_path

The path on the web for this directory.

template_path

This is the path inside the templates, used for the pages and statics of this directory.

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by DuckDuckGo, Inc. http://duckduckgo.com/.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004