Skip to content

Commit b9d4d6c

Browse files
committed
Ruby: Set quote characters.
1 parent 82cf976 commit b9d4d6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"Zaphod Beeblebrox",
88
].freeze
99

10+
Readline.completer_quote_characters = "\"'"
11+
1012
Readline.completion_proc = proc do |input|
1113
CHARACTER_NAMES.select { |name| name.start_with?(input) }
1214
end

0 commit comments

Comments
 (0)