Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

RubyVM.keep_script_lines

RubyVM.keep_script_lines → true or false

Return current keep_script_lines status. Now it only returns true of false, but it can return other objects in future.

Note that this is an API for ruby internal use, debugging, and research. Do not use this for any other purpose. The compatibility is not guaranteed.

See also .keep_script_lines= .each_builtin .mtbl also in 4.1 · 4.0 · 3.4 · 3.3 · 3.1