ライブラリ
-
irb
/ context (17) -
irb
/ ext / history (1) -
irb
/ ext / math-mode (2) -
irb
/ ext / save-history (2) -
irb
/ ext / tracer (2) -
irb
/ ext / use-loader (2)
キーワード
-
ap
_ name (1) -
auto
_ indent _ mode (1) -
back
_ trace _ limit (1) -
eval
_ history (1) - evaluate (1)
-
ignore
_ eof= (1) -
ignore
_ sigint= (1) -
init
_ save _ history (1) -
irb
_ name (1) -
irb
_ path (1) -
last
_ value (1) -
load
_ modules (1) - main (1)
- math? (1)
-
math
_ mode (1) -
return
_ format (1) -
save
_ history (1) -
set
_ last _ value (1) - thread (1)
-
use
_ loader (1) -
use
_ loader? (1) -
use
_ readline (1) -
use
_ readline? (1) -
use
_ tracer (1) -
use
_ tracer? (1) - workspace (1)
検索結果
先頭5件
-
IRB
:: Context # back _ trace _ limit -> Integer (46207.0) -
エラー発生時のバックトレース表示の先頭、末尾の上限の行数を返します。
...エラー発生時のバックトレース表示の先頭、末尾の上限の行数を返します。
デフォルト値は 16 です。
@see IRB::Context#back_trace_limit=... -
IRB
:: Context # auto _ indent _ mode -> bool (45907.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
...入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode=... -
IRB
:: Context # use _ readline -> bool | nil (36943.0) -
readline を使うかどうかを返します。
readline を使うかどうかを返します。
@return 戻り値よって以下のように動作します。
: true
readline ライブラリを使う
: false
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--noreadline オプションの指定
を行います。 -
IRB
:: Context # use _ readline? -> bool | nil (36943.0) -
readline を使うかどうかを返します。
readline を使うかどうかを返します。
@return 戻り値よって以下のように動作します。
: true
readline ライブラリを使う
: false
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--noreadline オプションの指定
を行います。 -
IRB
:: Context # ap _ name -> String (36907.0) -
自身のアプリケーション名を返します。
...自身のアプリケーション名を返します。
デフォルト値は "irb" です。
@see IRB::Context#ap_name=... -
IRB
:: Context # init _ save _ history -> () (36907.0) -
自身の持つ IRB::InputMethod オブジェクトが irb のヒストリを扱える ようにします。
自身の持つ IRB::InputMethod オブジェクトが irb のヒストリを扱える
ようにします。
@see IRB::HistorySavingAbility.extended -
IRB
:: Context # irb _ name -> String (36907.0) -
起動しているコマンド名を文字列で返します。
...起動しているコマンド名を文字列で返します。
@see IRB::Context#irb_name=... -
IRB
:: Context # main -> object (36907.0) -
self に設定されたオブジェクトを返します。
self に設定されたオブジェクトを返します。
@see cwws コマンド -
IRB
:: Context # return _ format -> String (36907.0) -
irb のプロンプトでの評価結果を表示する際のフォーマットを文字列で返します。
...irb のプロンプトでの評価結果を表示する際のフォーマットを文字列で返します。
@see IRB::Context#return_format=, print_format... -
IRB
:: Context # evaluate(line , line _ no) -> object (28207.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # load _ modules -> [String] (27955.0) -
irb の起動時に -r オプション指定で読み込まれたライブラリ、~/.irbrc など の設定ファイル内で IRB.conf[:LOAD_MODULES] 指定で読み込まれたライブラリ の名前の配列を返します。
irb の起動時に -r オプション指定で読み込まれたライブラリ、~/.irbrc など
の設定ファイル内で IRB.conf[:LOAD_MODULES] 指定で読み込まれたライブラリ
の名前の配列を返します。 -
IRB
:: Context # eval _ history -> Integer | nil (27907.0) -
実行結果の履歴の最大保存件数を Integer か nil で返します。
...履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 を返し
た場合は無制限に保存します。nil を返した場合は追加の保存は行いません。
@see IRB::Context#eval_history=... -
IRB
:: Context # irb _ path -> String (27907.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # save _ history -> Integer | nil (27907.0) -
履歴の最大保存件数を Integer か nil で返します。
履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 以下や
nil を返した場合は追加の保存は行いません。
@see lib:irb#history -
IRB
:: Context # thread -> Thread (27907.0) -
現在のスレッドを返します。
現在のスレッドを返します。
@see Thread.current -
IRB
:: Context # workspace -> IRB :: WorkSpace (27907.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # ignore _ sigint=(val) (27691.0) -
Ctrl-C が入力された時に irb を終了するかどうかを val に設定します。
...に irb を終了します。
true を指定した場合、Ctrl-C の入力時に以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
@see IRB::Context#ignore_sigint... -
IRB
:: Context # last _ value -> object (27607.0) -
irb 中での最後の実行結果を返します。
irb 中での最後の実行結果を返します。 -
IRB
:: Context # math? -> bool (27607.0) -
math_mode が有効かどうかを返します。
...math_mode が有効かどうかを返します。
@see IRB::Context#math_mode=, IRB::Context#inspect?... -
IRB
:: Context # math _ mode -> bool (27607.0) -
math_mode が有効かどうかを返します。
...math_mode が有効かどうかを返します。
@see IRB::Context#math_mode=, IRB::Context#inspect?... -
IRB
:: Context # set _ last _ value(value) -> object (27607.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # use _ loader -> bool (27607.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader=... -
IRB
:: Context # use _ loader? -> bool (27607.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader=... -
IRB
:: Context # use _ tracer -> bool (27607.0) -
irb への入力を評価する時に tracer が有効かどうかを返します。
...irb への入力を評価する時に tracer が有効かどうかを返します。
@see tracer, IRB::Context#use_tracer=... -
IRB
:: Context # use _ tracer? -> bool (27607.0) -
irb への入力を評価する時に tracer が有効かどうかを返します。
...irb への入力を評価する時に tracer が有効かどうかを返します。
@see tracer, IRB::Context#use_tracer=... -
IRB
:: Context # ignore _ eof=(val) (18691.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを val に設定します。
....irbrc ファイル中で IRB.conf[:IGNORE_EOF] を設定する事でも同様の操作が
行えます。
@param val true を指定した場合、 Ctrl-D を無視します。false を指定した
場合は Ctrl-D の入力時に irb を終了します。
@see IRB::Context#ignore_eof...