'Like :meth:`Flask.add_url_rule` but for a blueprint.  The endpoint for
the :func:`url_for` function is prefixed with the name of the blueprint.'

def add_url_rule(self, rule, endpoint=None, view_func=None, **options):

    if endpoint:
        assert ('.' not in endpoint), 'Blueprint    endpoints    should    not    contain    dots'
    self.record((lambda s: s.add_url_rule(rule, endpoint, view_func, **options)))
