るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.040秒)
トップページ > クエリ:>[x] > クエリ:debug_level[x]

別のキーワード

  1. logger debug
  2. logger debug?
  3. socket so_debug
  4. socket iff_debug
  5. syslog debug

ライブラリ

キーワード

検索結果

IRB::Context#debug_level -> Integer (18207.0)

irb のデバッグレベルを返します。

...irb のデバッグレベルを返します。

デフォルト値は 0 です。

@see IRB::Context#debug_level=, IRB::Context#debug?...

irb (474.0)

irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

...0>

あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。

irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1> end
:foo
irb(main):007:0>...
...ションを指定したのと同じ効果が得られます。

IRB.conf[:AUTO_INDENT] = false
IRB.conf[:BACK_TRACE_LIMIT] = 16
IRB.conf[:DEBUG_LEVEL] = 1
IRB.conf[:ECHO] = nil
IRB.conf[:EVAL_HISTORY] = nil
IRB.conf[:HISTORY_FILE] = nil
IRB.conf[:IGNORE_EOF] = true
IRB.conf[:IGNORE_...
...PT_I => nil, # 通常時のプロンプト
:PROMPT_N => nil, # 継続行のプロンプト
:PROMPT_S => nil, # 文字列などの継続行のプロンプト
:PROMPT_C => nil, # 式が継続している時のプロンプト
:RETURN => " ==>%s\n"...

IRB::Context#debug? -> bool (128.0)

irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し ているかどうかを返します。

...irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し
ているかどうかを返します。

デフォルト値は false です。

@see IRB::Context#debug_level, IRB::Context#debug_level=...

RubyVM::InstructionSequence.compile_option -> Hash (106.0)

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

...e_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,
# :de...
...bug_frozen_string_literal=>false,
# :coverage_enabled=>true,
# :debug_level=>0}
//}

@see RubyVM::InstructionSequence.compile_option=...