Method: RDoc::Alias#initialize
- Defined in:
- lib/rdoc/code_objects.rb
#initialize(text, old_name, new_name, comment) ⇒ Alias
Returns a new instance of Alias.
704 705 706 707 708 709 710 |
# File 'lib/rdoc/code_objects.rb', line 704 def initialize(text, old_name, new_name, comment) super() @text = text @old_name = old_name @new_name = new_name self.comment = comment end |