method
add_alias
add_alias(an_alias)
public
Hide source
# File lib/rdoc/code_objects.rb, line 344 def add_alias(an_alias) meth = find_instance_method_named(an_alias.old_name) if meth then add_alias_impl(an_alias, meth) else add_to(@aliases, an_alias) unmatched_alias_list = @unmatched_alias_lists[an_alias.old_name] ||= [] unmatched_alias_list.push(an_alias) end an_alias end