diff options
author | st0012 <[email protected]> | 2022-10-06 12:37:37 +0100 |
---|---|---|
committer | git <[email protected]> | 2022-10-08 03:17:42 +0900 |
commit | 5b3079a8a5f66859c8d80ad55b5424c7c1877443 (patch) | |
tree | 9da3f022451ecff6973257e7632f52acd59d06b4 /lib/irb/completion.rb | |
parent | 7cafe09aec76924eafe3ca46b0265de44930a67e (diff) |
[ruby/irb] Sort constant completion's candidates
https://github.com/ruby/irb/commit/ee9b33c817
Diffstat (limited to 'lib/irb/completion.rb')
-rw-r--r-- | lib/irb/completion.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 9d386bbeca..dbd652769e 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -255,7 +255,7 @@ module IRB candidates = [] end - select_message(receiver, message, candidates, "::") + select_message(receiver, message, candidates.sort, "::") end when /^(:[^:.]+)(\.|::)([^.]*)$/ |