@classmethod
def render_string(cls, s, key, value):
    """
        Renders a string *s* by replacing ``{{key}}`` with *value*. Returns the rendered string.
        """
    return s.replace('{{' + key + '}}', value)
