Skip to content

Commit

Permalink
Document render.Render class
Browse files Browse the repository at this point in the history
  • Loading branch information
fboender committed Sep 5, 2021
1 parent 88f741b commit 79ec78e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ansiblecmdb/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@


class Render:
"""
Wrapper class to facilitate rendering.
This is mostly a helper class for finding template locations and
initializing Mako properly. It can also call executable "templates" (python
scripts) for rendering.
"""
def __init__(self, tpl, tpl_dirs):
self.tpl = tpl
self.tpl_dirs = tpl_dirs
Expand Down

0 comments on commit 79ec78e

Please sign in to comment.