method

to_s

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: RDoc::Constant
to_s() public

No documentation

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

Hide source
# File lib/rdoc/constant.rb, line 177
  def to_s # :nodoc:
    parent_name = parent ? parent.full_name : '(unknown)'
    if is_alias_for
      "constant #{parent_name}::#@name -> #{is_alias_for}"
    else
      "constant #{parent_name}::#@name"
    end
  end
Register or log in to add new notes.