method

add_alias

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: 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.

Show source
Register or log in to add new notes.