method

completion_proc=

v1_9_2_180 - Show latest stable - Class: Readline
completion_proc=(p1)
public

Specifies a Proc object proc to determine completion behavior. It should take input-string, and return an array of completion candidates.

Set default if proc is nil.

Raises ArgumentError exception if proc does not respond to call method.

Raises SecurityError exception if $SAFE is 4.