def render(self, template, fail='## :todo: add {template}'):
        """
        Returns the rendered value for the inputted template name.
        
        :param      template | <str>
        """
        try:
            return self._templates[template].render(scaffold=self)
        except KeyError:
            return fail.format(template=template)
def render ( self , template , fail = '## :todo: add {template}' ) : try : return self . _templates [ template ] . render ( scaffold = self ) except KeyError : return fail . format ( template = template )
Returns the rendered value for the inputted template name.
        
        :param      template | <str>