mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
parent
935bb4c617
commit
3a2e2a6848
1 changed files with 8 additions and 0 deletions
|
@ -107,6 +107,14 @@ module Reline
|
||||||
@completion_proc = p
|
@completion_proc = p
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def autocompletion
|
||||||
|
@config.autocompletion
|
||||||
|
end
|
||||||
|
|
||||||
|
def autocompletion=(val)
|
||||||
|
@config.autocompletion = val
|
||||||
|
end
|
||||||
|
|
||||||
def output_modifier_proc=(p)
|
def output_modifier_proc=(p)
|
||||||
raise ArgumentError unless p.respond_to?(:call) or p.nil?
|
raise ArgumentError unless p.respond_to?(:call) or p.nil?
|
||||||
@output_modifier_proc = p
|
@output_modifier_proc = p
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue