Module: IRB::InputCompletor

Defined in:
lib/irb/completion.rb

Constant Summary collapse

CompletionProc =
->(target, preposing = nil, postposing = nil) {
  regexp_completor.completion_candidates(preposing, target, postposing, bind: IRB.conf[:MAIN_CONTEXT].workspace.binding)
}

Class Method Summary collapse

Class Method Details

.retrieve_completion_data(input, bind: IRB.conf[:MAIN_CONTEXT].workspace.binding, doc_namespace: false) ⇒ Object



457
458
459
# File 'lib/irb/completion.rb', line 457

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