# RDoc::Alias - ri - phpman

= [**RDoc::Alias](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AAlias/markdown) < [RDoc::CodeObject**](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ACodeObject/markdown)

(from gem rdoc-7.2.0)
------------------------------------------------------------------------
## Represent an alias, which is an oldname/newname pair associated with a
particular context
------------------------------------------------------------------------
= **Class methods:**

  new

= **Instance methods:**

  <=>
  aref
  html_name
  name
  name_prefix
  new_name
  old_name
  pretty_name
  pretty_new_name
  pretty_old_name
  singleton
  text

= **Attributes:**

  attr_reader name
  attr_reader new_name
  attr_reader old_name
  attr_reader singleton
  attr_reader text

