Description | A static content generator. |
Newcomen::Role::Attribute::Core - Moose role for easy core access.
# In the consuming class: with 'Newcomen::Role::Attribute::Core'; # Then _core() is available: my $core = $self -> _core ();
Newcomen::Role::Attribute::Core adds the _core attribute to the consuming class. This may be used to access the Newcomen::Core instance (as a getter: _core()). It may be used by any class that requires access to it.
Note that these methods are available in the consuming class, Newcomen::Role::Attribute::Core is just a Moose role.
my $core = $self -> _core ();
Returns the global Newcomen::Core instance.
This role also defines the method _build_core(), the builder for the _core attribute. Do not use this name for anything in the consuming class. The builder is lazy, i.e. the attribute will be initialized on first access. The attribute will be read only, and it may not be set using the constructor.
Moose, Newcomen::Core, Newcomen::Role::Attribute::Catalog, Newcomen::Role::Attribute::Config, Newcomen::Role::Attribute::Crawler, Newcomen::Role::Attribute::Formatter, Newcomen::Role::Attribute::Plugins, Newcomen::Role::Attribute::Renderer, Newcomen::Role::Attribute::Site, Newcomen::Role::Attribute::URL, Newcomen::Role::Attribute::Writer
This is version 2014052501
.
Stefan Goebel - newcomen {at} subtype {dot} de
Copyright 2013-2014 Stefan Goebel.
This file is part of Newcomen.
Newcomen 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 3 of the license, or (at your option) any later version.
Newcomen 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 Newcomen. If not, see <http://www.gnu.org/licenses/>.