@contextlib.contextmanager<EOL><INDENT>def resolving(self, ref):<DEDENT>
url, resolved = self.resolve(ref)<EOL>self.push_scope(url)<EOL>try:<EOL><INDENT>yield resolved<EOL><DEDENT>finally:<EOL><INDENT>self.pop_scope()<EOL><DEDENT>
Resolve the given ``ref`` and enter its resolution scope.

Exits the scope on exit of this context manager.

Arguments:

    ref (str):

        The reference to resolve