method

add_alias

Importance_1
v2_6_3 - 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 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.

Show source
Register or log in to add new notes.