method
add_alias
v1_9_3_125 -
Show latest stable
- Class:
RDoc::MethodAttr
add_alias(an_alias, context)public
Abstract method. Contexts in their building phase call this to register a new alias for this known method/attribute.
-
creates a new AnyMethod/Attribute newa named an_alias.new_name;
-
adds self as newa.is_alias_for;
-
adds newa to #aliases
-
adds newa to the methods/attributes of context.