End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Readline.point=
Readline.point = int
ext/readline/readline.c
View on GitHub ↗
static VALUE
readline_s_set_point(VALUE self, VALUE pos)
{
rl_point = NUM2INT(pos);
return pos;
}
Set the index of the current cursor position in Readline.line_buffer.
Raises NotImplementedError if the using readline library does not support.
See Readline.point.