Skip to content
class method

RubyVM.keep_script_lines=

RubyVM.keep_script_lines = true / false

It set keep_script_lines flag. If the flag is set, all loaded scripts are recorded in a interpreter process.

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 .stat also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1