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 named an_alias.new_name;
-
adds self as an alias for the new method or attribute
-
adds the method or attribute to #aliases
-
adds the method or attribute to context.
# File lib/rdoc/method_attr.rb, line 209
def add_alias(an_alias, context)
raise NotImplementedError
end