method

each_ancestor

v2_6_3 - Show latest stable - Class: RDoc::Context
each_ancestor()
public

Iterator for ancestors for duck-typing. Does nothing. See RDoc::ClassModule#each_ancestor.

This method exists to make it easy to work with Context subclasses that aren’t part of RDoc.