Package gavo :: Package user :: Module mkrd :: Class TemplateMacroPackage
[frames] | no frames]

Class TemplateMacroPackage

source code

              object --+    
                       |    
base.macros.MacroPackage --+
                           |
                          TemplateMacroPackage

Macros for RD templates.

Instance Methods
 
macro_tpldesc(self, description)
A silent macro used for self-documentation.
source code
 
macro_now(self)
returns an ISO representation of just about now UTC.
source code
 
macro_resdir(self)
returns the last element of the current path.
source code
 
macro_commonmeta(self)
expands to the content of tpart-commonmeta.xml.
source code

Inherited from base.macros.MacroPackage: execMacro, expand, getExpander, listMacros, macro_quote, macro_reSub, macro_sql_standardPubDID, macro_sqlquote

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

macro_resdir(self)

source code 

returns the last element of the current path.

This is assumed to be the intended resource directory.