60件ヒット
[1-60件を表示]
(0.097秒)
種類
- インスタンスメソッド (36)
- 特異メソッド (24)
ライブラリ
- ビルトイン (24)
-
irb
/ context (36)
クラス
-
IRB
:: Context (36) -
RubyVM
:: InstructionSequence (24)
キーワード
-
compile
_ option (12) -
compile
_ option= (12) - debug? (12)
-
debug
_ level= (12)
検索結果
先頭5件
-
IRB
:: Context # debug _ level -> Integer (21207.0) -
irb のデバッグレベルを返します。
...irb のデバッグレベルを返します。
デフォルト値は 0 です。
@see IRB::Context#debug_level=, IRB::Context#debug?... -
IRB
:: Context # debug _ level=(val) (9113.0) -
irb のデバッグレベルを val に設定します。
...irb のデバッグレベルを val に設定します。
.irbrc ファイル中で IRB.conf[:DEBUG_LEVEL] を設定する事でも同様の操作
が行えます。
@see IRB::Context#debug_level, IRB::Context#debug?... -
RubyVM
:: InstructionSequence . compile _ option=(options) (6206.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数 options で指定します。
...ル時のデフォルトの最適化オプションを引数
options で指定します。
@param options コンパイル時の最適化オプションを true、false、nil、
Hash のいずれかで指定します。true を指定した場合は
全てのオプショ......true か false を指定する事で個
別に有効、無効を指定します。
//emlist{
* :inline_const_cache
* :instructions_unification
* :operands_unification
* :peephole_optimization
* :specialized_instruction
* :stack_caching
* :tailcall_optimization
* :trace......_instruction
//}
:debug_level をキーに指定した場合は値を数値で指定します。
.new、.compile、.compile_file メソッドの実行の際に option 引数を指定し
た場合はその実行のみ最適化オプションを変更する事もできます。
@see R... -
RubyVM
:: InstructionSequence . compile _ option -> Hash (6106.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。
...//emlist[例][ruby]{
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,
# :stack_caching=>......false,
# :trace_instruction=>true,
# :frozen_string_literal=>false,
# :debug_frozen_string_literal=>false,
# :coverage_enabled=>true,
# :debug_level=>0}
//}
@see RubyVM::InstructionSequence.compile_option=... -
IRB
:: Context # debug? -> bool (3028.0) -
irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し ているかどうかを返します。
...irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し
ているかどうかを返します。
デフォルト値は false です。
@see IRB::Context#debug_level, IRB::Context#debug_level=...