diff options
Diffstat (limited to 'lib/reline.rb')
-rw-r--r-- | lib/reline.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/reline.rb b/lib/reline.rb index 2036ec7024..c4c6b97d03 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -42,6 +42,7 @@ module Reline def initialize self.output = STDOUT yield self + @completion_quote_character = nil end def completion_append_character=(val) @@ -88,6 +89,10 @@ module Reline @config.completion_ignore_case end + def completion_quote_character + @completion_quote_character + end + def completion_proc=(p) raise ArgumentError unless p.respond_to?(:call) @completion_proc = p @@ -347,6 +352,7 @@ module Reline def_single_delegators :core, :vi_editing_mode, :emacs_editing_mode def_single_delegators :core, :readline def_single_delegators :core, :completion_case_fold, :completion_case_fold= + def_single_delegators :core, :completion_quote_character def_instance_delegators self, :readline private :readline |