290件ヒット
[1-100件を表示]
(0.023秒)
種類
- インスタンスメソッド (213)
- 特異メソッド (66)
- クラス (11)
クラス
-
IRB
:: Context (136) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: Inspector (11) -
IRB
:: OutputMethod (11) -
IRB
:: StdioOutputMethod (11) - XMP (22)
モジュール
- IRB (22)
-
IRB
:: ExtendCommandBundle (22) - Kernel (11)
キーワード
- Context (11)
- Inspector (11)
-
def
_ extend _ command (11) -
def
_ inspector (11) -
eval
_ history (11) -
eval
_ history= (11) - execute (33)
-
history
_ file (11) -
inspect
_ mode (11) -
irb
_ load (11) -
math
_ mode= (4) - new (22)
- print (11)
- printn (11)
- puts (11)
-
save
_ history (11) -
save
_ history= (11) - start (11)
-
use
_ readline (11) -
use
_ readline? (11) - verbose (11)
- verbose= (11)
- verbose? (11)
- xmp (11)
検索結果
先頭5件
-
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (310.0) -
自身を初期化します。
...身を初期化します。
@param irb IRB::Irb オブジェクトを指定します。
@param workspace IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの......オブジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
を指定します。省略した場合は
IRB::StdioOutputMethod オブジェクトが新しく... -
IRB
:: ExtendCommand :: Load # execute(file _ name , priv = nil) -> nil (203.0) -
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実 行します。
...ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実
行します。
Kernel.#load と異なり、path の内容を irb で一行ずつタイプしたかの
ように、irb 上で一行ずつ評価されます。
@param file_name ファイル名を文... -
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
:: ExtendCommand :: Help # execute(*names) -> nil (114.0) -
RI から Ruby のドキュメントを参照します。
...RI から Ruby のドキュメントを参照します。
irb(main):001:0> help String#match
...
@param names 参照したいクラス名やメソッド名などを文字列で指定します。
names を指定しなかった場合は、RI を対話的なモードで起動します。メソ......トの検索が行えます。入力のタブ補完をする
事ができます。また、空行を入力する事で irb のプロンプトに戻る事ができま
す。
irb(main):001:0> help
Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line......to exit.
>> String#match
String#match
(from ruby core)
------------------------------------------------------------------------------
str.match(pattern) -> matchdata or nil
str.match(pattern, pos) -> matchdata or nil
...... -
IRB
:: Context # use _ readline -> bool | nil (109.0) -
readline を使うかどうかを返します。
...se
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--no... -
IRB
:: Context # use _ readline? -> bool | nil (109.0) -
readline を使うかどうかを返します。
...se
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--no... -
IRB
:: Context # verbose -> bool | nil (108.0) -
標準出力に詳細なメッセージを出力するように設定されているかどうかを返し ます。
...ます。
IRB::Context#verbose? とは別のメソッドである事に注意してください。
@return 詳細なメッセージを出力するように設定されている場合は true を返
します。そうでない場合は false か nil を返します。
@see IRB::Context#ve... -
IRB
:: Context # verbose? -> bool | nil (108.0) -
標準出力に詳細なメッセージを出力するかどうかを返します。
...か nil を返します。
設定を行っていた場合(IRB::Context#verbose が true か false を返す
場合)は設定した通りに動作します。設定を行っていない場合は、ファイルを指
定して irb を実行した場合などに true を返します。
@see IRB::Co......ntext#verbose, IRB::Context#verbose=...