290件ヒット
[1-100件を表示]
(0.084秒)
種類
- インスタンスメソッド (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
:: ExtendCommandBundle # irb _ load(*opts , &b) -> nil (9202.0) -
現在の irb に関する IRB::Context に対して irb_load コマンドを実行 します。
...現在の irb に関する IRB::Context に対して irb_load コマンドを実行
します。
@see IRB::ExtendCommand::Load#execute... -
IRB
. Inspector(inspect , init = nil) -> IRB :: Inspector (6502.0) -
IRB::Inspector オブジェクトを生成します。
...
IRB::Inspector オブジェクトを生成します。
@param inspect 実行結果の出力のための手続きオブジェクトを指定します。
@param init inspect_mode の初期化のための手続きオブジェクトを指定します。
あらかじめ require が必要......な場合などに、proc { require "foo" }
といった指定を行います。... -
IRB
:: Context # eval _ history -> Integer | nil (6230.0) -
実行結果の履歴の最大保存件数を Integer か nil で返します。
...履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 を返し
た場合は無制限に保存します。nil を返した場合は追加の保存は行いません。
@see IRB::Context#eval_history=... -
IRB
:: Context # save _ history -> Integer | nil (6230.0) -
履歴の最大保存件数を Integer か nil で返します。
...履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 以下や
nil を返した場合は追加の保存は行いません。
@see lib:irb#history... -
IRB
:: Context # history _ file -> String | nil (6214.0) -
履歴ファイルのパスを返します。
...履歴ファイルのパスを返します。
@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。
@see lib:irb#history... -
IRB
:: Context # use _ readline -> bool | nil (6209.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 (6209.0) -
readline を使うかどうかを返します。
...readline を使うかどうかを返します。
@return 戻り値よって以下のように動作します。
: true
readline ライブラリを使う
: false
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (......デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--noreadline オプションの指定
を行います。... -
IRB
:: Context # inspect _ mode -> object | nil (6202.0) -
実行結果の出力方式を返します。
...実行結果の出力方式を返します。
@see IRB::Context#inspect_mode=... -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (6202.0) -
新しい実行結果の出力方式を定義します。
...@param key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブロックを指定する場合には、inspect_mode の初......quire が必要な場合
などに、proc { require "foo" } といった指定を行います。
ブロックを指定しない場合には、実行結果の出力のための手続きオ
ブジェクトを指定します。
例.
# .irbrc
IRB::Inspector.def_ins......pector([:test]){ |v| v.to_s * 2 }
$ irb --inspect test
irb(main):001:0> :abc # => abcabc
@see lib:irb#inspect_mode... -
IRB
:: OutputMethod # printn(*objs) -> nil (6202.0) -
各 obj を self に出力し、最後に改行を出力します。
各 obj を self に出力し、最後に改行を出力します。
@param objs 任意のオブジェクトを指定します。