Ruby 4.1 リファレンスマニュアル

singleton method RubyVM::InstructionSequence.compile_option

compile_option -> HashRuby 1.9.3 から[permalink][rdoc][edit]

命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返します。

require "pp"
pp RubyVM::InstructionSequence.compile_option

# => {inline_const_cache: true,
# peephole_optimization: true,
# tailcall_optimization: false,
# specialized_instruction: true,
# operands_unification: true,
# instructions_unification: false,
# debug_frozen_string_literal: false,
# coverage_enabled: true,
# debug_level: 0,
# frozen_string_literal: nil}

[SEE_ALSO] RubyVM::InstructionSequence.compile_option=