Methods

RDoc::Alias

Represent an alias, which is an old_name/new_name pair associated with a particular context

TODO: RDoc::Alias needs to know if it’s a singleton alias or not

Attributes

comment[W]

Allow comments to be overridden

new_name[RW]

Aliased name

old_name[RW]

Aliasee’s name

singleton[RW]

Is this a singeton alias?

text[RW]

Source file token stream

Public Class Methods

new(text, old_name, new_name, comment) click to toggle source

Creates a new Alias with a token stream of text that aliases old_name to new_name and has comment

    # File lib/rdoc/alias.rb, line 40
40:   def initialize(text, old_name, new_name, comment)
41:     super()
42: 
43:     @text = text
44:     @old_name = old_name
45:     @new_name = new_name
46:     self.comment = comment
47: 
48:     @singleton = false
49:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.