mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] [].name to display the doc for Array.name
https://github.com/ruby/irb/commit/7c2abc14d8
This commit is contained in:
parent
1e2f10e8aa
commit
aeec02d7f3
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ module IRB
|
|||
cursor_pos_to_render, result, pointer = context.pop(3)
|
||||
return nil if result.nil? or pointer.nil?
|
||||
name = result[pointer]
|
||||
name = IRB::InputCompletor.retrieve_completion_data(name, doc_namespace: true)
|
||||
|
||||
driver = RDoc::RI::Driver.new
|
||||
begin
|
||||
|
|
Loading…
Add table
Reference in a new issue