gen_unix_domain_socket.pro.config.template_dir module¶
- Module
- template_dir.py
- Copyright
- Copyright (C) 2018 Vladimir Roncevic <elektron.ronca@gmail.com> gen_unix_domain_socket 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. gen_unix_domain_socket 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, see <http://www.gnu.org/licenses/>.
- Info
- Defined class TemplateDir with attribute(s) and method(s). Defined API for template directory for generation.
-
class
gen_unix_domain_socket.pro.config.template_dir.
TemplateDir
(verbose=False)[source]¶ Defined class TemplateDir with attribute(s) and method(s). Defined API for template directory for generation. It defines:
attributes: GEN_VERBOSE - console text indicator for process-phase.__verbose - enable/disable verbose option.__template_dir - project template dir.methods: __init__ - initial constructor.template_dir - property methods for set/get operations.is_template_dir_ok - checking is template dir ok.__str__ - dunder method for TemplateDir.-
GEN_VERBOSE
= 'GEN_UNIX_DOMAIN_SOCKET::PRO::CONFIG::TEMPLATE_DIR'¶
-
is_template_dir_ok
()[source]¶ Checking is project template dir ok.
Returns: boolean status, True (not None) | False. Return type: <bool> Exceptions: None
-
template_dir
¶ Property method for getting template dir.
Returns: formatted template dir | None. Return type: <str> | <NoneType> Exceptions: None
-