Module: IRB::InputCompletor
Relationships & Source Files | |
Defined in: | lib/irb/completion.rb |
Constant Summary
-
CompletionProc =
# File 'lib/irb/completion.rb', line 499->(target, preposing = nil, postposing = nil) { regexp_completor.completion_candidates(preposing || '', target, postposing || '', bind: IRB.conf[:MAIN_CONTEXT].workspace.binding) }
Class Method Summary
Class Method Details
.regexp_completor
[ GitHub ]# File 'lib/irb/completion.rb', line 491
private def regexp_completor @regexp_completor ||= RegexpCompletor.new end
.retrieve_completion_data(input, bind: IRB.conf[:MAIN_CONTEXT].workspace.binding, doc_namespace: false)
[ GitHub ]# File 'lib/irb/completion.rb', line 495
def retrieve_completion_data(input, bind: IRB.conf[:MAIN_CONTEXT].workspace.binding, doc_namespace: false) regexp_completor.retrieve_completion_data(input, bind: bind, doc_namespace: doc_namespace) end