Flowdock
method

add_alias_impl

Importance_0
v1_9_1_378 - Show latest stable - 0 notes - Class: RDoc::Context
add_alias_impl(an_alias, meth) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/code_objects.rb, line 334
    def add_alias_impl(an_alias, meth)
      new_meth = AnyMethod.new(an_alias.text, an_alias.new_name)
      new_meth.is_alias_for = meth
      new_meth.singleton    = meth.singleton
      new_meth.params       = meth.params
      new_meth.comment = "Alias for \##{meth.name}"
      meth.add_alias(new_meth)
      add_method(new_meth)
    end
Register or log in to add new notes.