Represent an alias, which is an old_name/new_name pair associated with a particular context
Methods
- #
- A
- F
- H
- N
- P
Attributes
| [R] | name | Aliased method’s name |
| [R] | new_name | Aliased method’s name |
| [R] | old_name | Aliasee method’s name |
| [RW] | singleton | Is this an alias declared in a singleton context? |
| [R] | text | Source file token stream |
Class Public methods
new(text, old_name, new_name, comment, singleton = false) Link
Creates a new Alias with a token stream of text that aliases old_name to new_name, has comment and is a singleton context.
Instance Public methods
<=>(other) Link
aref() Link
HTML fragment reference for this alias
full_old_name() Link
Full old name including namespace
html_name() Link
HTML id-friendly version of #new_name.
name_prefix() Link
‘::’ for the alias of a singleton method/attribute, ‘#’ for instance-level.