Method: RDoc::Context#each_ancestor
- Defined in:
- lib/rdoc/code_object/context.rb
#each_ancestor(&_) ⇒ Object
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.
713 714 |
# File 'lib/rdoc/code_object/context.rb', line 713 def each_ancestor(&_) # :nodoc: end |