Class: IRB::MethodDocument
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
DocumentTarget
|
|
|
Instance Chain:
self,
DocumentTarget
|
|
| Inherits: |
IRB::DocumentTarget
|
| Defined in: | lib/irb/completion.rb |
Overview
Represents a method/class documentation target. May hold multiple names
when the receiver is ambiguous (e.g. {}.any? could be Hash#any? or Proc#any?).
The dialog popup uses only the first name; the full-screen display renders all.
Class Method Summary
Instance Attribute Summary
Constructor Details
.new(*names) ⇒ MethodDocument
Instance Attribute Details
#names (readonly)
[ GitHub ]# File 'lib/irb/completion.rb', line 26
attr_reader :names