diff options
author | KaĆque Kandy Koga <[email protected]> | 2021-10-10 16:30:42 -0300 |
---|---|---|
committer | git <[email protected]> | 2021-10-13 06:33:48 +0900 |
commit | 5c646ca0a09c5249b20cf5645e27ee75fe4dff04 (patch) | |
tree | 8e8d59158edba9f2715d7f0730fffa0cfa70f2fa /lib/irb/completion.rb | |
parent | 38d255d023373a665ce0d2622ed6e25462653a2a (diff) |
[ruby/irb] Ignore parenthesis during completion
Rename method
https://github.com/ruby/irb/commit/619aecb412
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 a8a73cce80..9121174a50 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -197,7 +197,7 @@ module IRB end candidates.grep(/^#{Regexp.quote(sym)}/) - when /^::([A-Z][^:\.\(]*)$/ + when /^::([A-Z][^:\.\(\)]*)$/ # Absolute Constant or class methods receiver = $1 candidates = Object.constants.collect{|m| m.to_s} |