ancestors

ancestors()
Instance Public methods

Ancestors list for this ClassModule: the list of included modules (classes will add their superclass if any).

Returns the included classes or modules, not the includes themselves. The returned values are either String or RDoc::NormalModule instances (see RDoc::Include#module).

The values are returned in reverse order of their inclusion, which is the order suitable for searching methods/attributes in the ancestors. The superclass, if any, comes last.

direct_ancestors

doc_ruby_on_rails
2015-05-01 09:12:43
Comments
Leave a Comment

Please login to continue.