るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

キーワード

検索結果

irb (26318.0)

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

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

=== irb の使い方

Ruby さえ知っていれば irb を使うのは簡単です。
i
rb コマンドを実行すると、以下のようなプロン...
...す。
readline ライブラリがインストールされている時には
自動的にコマンドライン編集や履歴の機能が使えるようになります。

=== irb のコマンドラインオプション

i
rb [options] file_name opts
options:
-
f ~/.irbrc を読...
...に「.irbrc」と呼称します。

以下のような (Ruby の) 式を .irbrc に記述すると、
i
rb コマンドのオプションを指定したのと同じ効果が得られます。

I
RB.conf[:AUTO_INDENT] = false
I
RB.conf[:BACK_TRACE_LIMIT] = 16
I
RB.conf[:DEBUG_LEVEL] = 1
I
RB.con...

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

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

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

デフォルト値は 0 です。

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

RubyVM::InstructionSequence.compile_option -> Hash (6206.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=>f...
...alse,
# :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 (3128.0)

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

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

デフォルト値は false です。

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