136件ヒット
[1-100件を表示]
(0.035秒)
種類
- インスタンスメソッド (125)
- 特異メソッド (11)
ライブラリ
-
irb
/ context (77) -
irb
/ ext / history (22) -
irb
/ ext / math-mode (4) -
irb
/ ext / save-history (33)
キーワード
-
eval
_ history (11) -
eval
_ history= (11) -
history
_ file (11) -
inspect
_ mode (11) -
math
_ mode= (4) - new (11)
-
save
_ history (11) -
save
_ history= (11) -
use
_ readline (11) -
use
_ readline? (11) - verbose (11)
- verbose= (11)
- verbose? (11)
検索結果
先頭5件
-
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (310.0) -
自身を初期化します。
...合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの
オブジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
を指定... -
IRB
:: Context # eval _ history -> Integer | nil (130.0) -
実行結果の履歴の最大保存件数を Integer か nil で返します。
...履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 を返し
た場合は無制限に保存します。nil を返した場合は追加の保存は行いません。
@see IRB::Context#eval_history=... -
IRB
:: Context # save _ history -> Integer | nil (130.0) -
履歴の最大保存件数を Integer か nil で返します。
...履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 以下や
nil を返した場合は追加の保存は行いません。
@see lib:irb#history... -
IRB
:: Context # history _ file -> String | nil (114.0) -
履歴ファイルのパスを返します。
...履歴ファイルのパスを返します。
@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。
@see lib:irb#history... -
IRB
:: Context # use _ readline -> bool | nil (109.0) -
readline を使うかどうかを返します。
...値よって以下のように動作します。
: true
readline ライブラリを使う
: false
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファ... -
IRB
:: Context # use _ readline? -> bool | nil (109.0) -
readline を使うかどうかを返します。
...値よって以下のように動作します。
: true
readline ライブラリを使う
: false
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファ... -
IRB
:: Context # verbose -> bool | nil (108.0) -
標準出力に詳細なメッセージを出力するように設定されているかどうかを返し ます。
...す。
IRB::Context#verbose? とは別のメソッドである事に注意してください。
@return 詳細なメッセージを出力するように設定されている場合は true を返
します。そうでない場合は false か nil を返します。
@see IRB::Context#verbos... -
IRB
:: Context # verbose? -> bool | nil (108.0) -
標準出力に詳細なメッセージを出力するかどうかを返します。
...詳細なメッセージを出力する場合は true を返します。そうでない場
合は false か nil を返します。
設定を行っていた場合(IRB::Context#verbose が true か false を返す
場合)は設定した通りに動作します。設定を行っていない......場合は、ファイルを指
定して irb を実行した場合などに true を返します。
@see IRB::Context#verbose, IRB::Context#verbose=... -
IRB
:: Context # inspect _ mode -> object | nil (102.0) -
実行結果の出力方式を返します。
...実行結果の出力方式を返します。
@see IRB::Context#inspect_mode=... -
IRB
:: Context # eval _ history=(val) (13.0) -
実行結果の履歴の最大保存件数を val に設定します。
...最大保存件数を Integer か nil で指定し
ます。0 を指定した場合は無制限に履歴を保存します。現在の値よ
りも小さい値を指定した場合は履歴がその件数に縮小されます。
nil を指定した場合は履歴の......追加がこれ以上行われなくなります。
@see IRB::Context#eval_history...