summaryrefslogtreecommitdiff
path: root/lib/irb/ws-for-case-2.rb
diff options
context:
space:
mode:
authortomoya ishida <[email protected]>2023-10-12 02:08:59 +0900
committergit <[email protected]>2023-10-11 17:09:05 +0000
commit94cb5765e2e44716800cd466c64f81c048aaf95b (patch)
tree8e372dac7478a36582b9de656731361924515788 /lib/irb/ws-for-case-2.rb
parentb9a6fca67d97f7319b20b24427d6dc4b8290cd24 (diff)
[ruby/irb] Rename current completor to RegexpCompletor and
refactored for future extension (https://github.com/ruby/irb/pull/707) * Move completion implementation to completion/regexp_completor for future extension * Remove constant CompletionProc and PerfectMatchedProc and add a class method * Move document display logic to InputCompletor. Each completor only need to implement `completion_caididates` and `doc_namespace` * Move display_document logic to RelineInputMethod * Use RegexpCompletor directly. Not through class method of InputCompletor. * RegexpCompletor extends BaseCompletor, move back definition to completion.rb * Move display_document test to input_method test * Stop re-initialize completor on each completion phase * Store completor to ReadlineInputMethod's iver https://github.com/ruby/irb/commit/1e98521483
Diffstat (limited to 'lib/irb/ws-for-case-2.rb')
0 files changed, 0 insertions, 0 deletions