aref_prefix

aref_prefix() Instance Public methods The aref prefix for attributes

definition

definition() Instance Public methods Returns attr_reader, attr_writer or attr_accessor as appropriate.

marshal_dump

marshal_dump() Instance Public methods Dumps this Attr for use by ri. See also marshal_load

marshal_load

marshal_load(array) Instance Public methods Loads this Attr from array. For a loaded Attr the following methods will return cached values: full_name parent_name

from_module

from_module(class_type, mod) Class Public methods Return a RDoc::ClassModule of class class_type that is a copy of module module. Used to promote modules to classes.

new

new(name, superclass = nil) Class Public methods Creates a new ClassModule with name with optional superclass This is a constructor for subclasses, and must never be called directly.

add_comment

add_comment(comment, location) Instance Public methods Adds comment to this ClassModule's list of comments at location. This method is preferred over comment= since it allows ri data to be updated across multiple runs.

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 la

clear_comment

clear_comment() Instance Public methods Clears the comment. Used by the ruby parser.

complete

complete(min_visibility) Instance Public methods Prepares this ClassModule for use by a generator. See RDoc::Store#complete