別のキーワード
クラス
-
IRB
:: Context (80) -
IRB
:: ExtendCommand :: ChangeWorkspace (1) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (1) -
IRB
:: ExtendCommand :: Foreground (1) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: ExtendCommand :: IrbCommand (1) -
IRB
:: ExtendCommand :: Jobs (1) -
IRB
:: ExtendCommand :: Kill (1) -
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Nop (4) -
IRB
:: ExtendCommand :: PopWorkspace (1) -
IRB
:: ExtendCommand :: PushWorkspace (1) -
IRB
:: ExtendCommand :: Require (1) -
IRB
:: ExtendCommand :: Source (1) -
IRB
:: ExtendCommand :: Workspaces (1) -
IRB
:: FileInputMethod (3) -
IRB
:: Frame (6) -
IRB
:: InputMethod (4) -
IRB
:: Inspector (4) -
IRB
:: OutputMethod (5) -
IRB
:: ReadlineInputMethod (6) -
IRB
:: StdioInputMethod (6) -
IRB
:: StdioOutputMethod (1) - XMP (1)
モジュール
- IRB (10)
-
IRB
:: ContextExtender (2) -
IRB
:: ExtendCommandBundle (12) -
IRB
:: HistorySavingAbility (3) - Kernel (1)
オブジェクト
-
IRB
:: MagicFile (3)
キーワード
- Abort (1)
- ChangeWorkspace (1)
- Completor (1)
- Context (1)
- ContextExtender (1)
- CurrentContext (1)
- CurrentWorkingWorkspace (1)
-
ENCODING
_ SPEC _ RE (1) - ExtendCommandBundle (1)
- FileInputMethod (1)
- Foreground (1)
- Frame (1)
- Help (1)
- HistorySavingAbility (1)
-
IDNAME
_ IVARS (1) - INSPECTORS (1)
- IRB (1)
- InputMethod (1)
- Inspector (2)
- Irb (1)
- IrbCommand (1)
- IrbLoader (1)
- Jobs (1)
- Kill (1)
- Load (1)
- LoadAbort (1)
- MagicFile (1)
-
NOPRINTING
_ IVARS (1) -
NO
_ INSPECTING _ IVARS (1) -
NO
_ OVERRIDE (1) - Nop (1)
-
OVERRIDE
_ ALL (1) -
OVERRIDE
_ PRIVATE _ ONLY (1) - OutputMethod (1)
- PopWorkspace (1)
- PushWorkspace (1)
- ReadlineInputMethod (1)
- Require (1)
-
STDIN
_ FILE _ NAME (1) - Source (1)
- StdioInputMethod (1)
- StdioOutputMethod (1)
- WorkSpace (1)
- Workspaces (1)
-
_ _ inspect _ _ (1) -
_ _ to _ s _ _ (1) -
ap
_ name (1) -
ap
_ name= (1) -
auto
_ indent _ mode (1) -
auto
_ indent _ mode= (1) -
back
_ trace _ limit (1) -
back
_ trace _ limit= (1) - bottom (2)
- conf (1)
- debug? (1)
-
debug
_ level (1) -
debug
_ level= (1) -
def
_ extend _ command (2) -
def
_ inspector (1) - echo (1)
- echo= (1)
- echo? (1)
- encoding (3)
- eof? (2)
-
eval
_ history (1) -
eval
_ history= (1) - evaluate (1)
- execute (15)
- exit (1)
-
extend
_ object (1) - extended (1)
-
file
_ input? (1) -
file
_ name (1) - gets (4)
-
history
_ file (1) -
history
_ file= (1) -
ignore
_ eof (1) -
ignore
_ eof= (1) -
ignore
_ eof? (1) -
ignore
_ sigint (1) -
ignore
_ sigint= (1) -
ignore
_ sigint? (1) - init (1)
-
init
_ save _ history (1) - inspect (1)
- inspect? (1)
-
inspect
_ mode (1) -
inspect
_ mode= (1) -
inspect
_ value (1) -
install
_ alias _ method (1) -
install
_ extend _ commands (2) - io (1)
- io= (1)
- irb (1)
- irb= (1)
-
irb
_ abort (1) -
irb
_ at _ exit (1) -
irb
_ context (2) -
irb
_ exit (2) -
irb
_ load (1) -
irb
_ name (1) -
irb
_ name= (1) -
irb
_ original _ method _ name (1) -
irb
_ path (1) -
irb
_ path= (1) -
irb
_ require (1) -
keys
_ with _ inspector (1) -
last
_ value (1) - line (2)
-
load
_ history (1) -
load
_ modules (1) - main (1)
- new (7)
- open (2)
- pp (1)
- ppx (1)
- print (2)
-
print
_ usage (1) - printn (1)
-
prompt
_ c (1) -
prompt
_ c= (1) -
prompt
_ i (1) -
prompt
_ i= (1) -
prompt
_ mode (1) -
prompt
_ mode= (1) -
prompt
_ n (1) -
prompt
_ n= (1) -
prompt
_ s (1) -
prompt
_ s= (1) - prompting? (1)
- puts (1)
- rc (1)
- rc? (1)
-
readable
_ atfer _ eof? (3) -
return
_ format (1) -
return
_ format= (1) -
save
_ history (2) -
save
_ history= (1) - sender (1)
-
set
_ last _ value (1) - start (1)
- thread (1)
-
to
_ s (1) - top (2)
-
trace
_ func (1) -
use
_ loader (1) -
use
_ loader= (1) -
use
_ loader? (1) -
use
_ readline (1) -
use
_ readline? (1) -
use
_ tracer (1) -
use
_ tracer= (1) -
use
_ tracer? (1) - verbose (1)
- verbose= (1)
- verbose? (1)
- version (1)
- workspace (1)
- workspace= (1)
- xmp (1)
検索結果
先頭5件
-
IRB
:: Context # irb -> IRB :: Irb (18604.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # verbose -> bool | nil (18604.0) -
標準出力に詳細なメッセージを出力するように設定されているかどうかを返し ます。
...ます。
IRB::Context#verbose? とは別のメソッドである事に注意してください。
@return 詳細なメッセージを出力するように設定されている場合は true を返
します。そうでない場合は false か nil を返します。
@see IRB::Context#ve... -
IRB
:: Context # verbose? -> bool | nil (18604.0) -
標準出力に詳細なメッセージを出力するかどうかを返します。
...行っていた場合(IRB::Context#verbose が true か false を返す
場合)は設定した通りに動作します。設定を行っていない場合は、ファイルを指
定して irb を実行した場合などに true を返します。
@see IRB::Context#verbose, IRB::Context#verbose=... -
IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle (18604.0) -
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを obj に定義します。
...
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを
obj に定義します。
@param obj IRB::ExtendCommandBundle を extend したオブジェクト... -
IRB
. irb _ abort(irb , exception = Abort) (18307.0) -
実行中の処理を中断します。必ず例外が発生するため、何も返しません。
...例外が発生するため、何も返しません。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param exception 発生させる例外を指定します。指定しなかった場合は
IRB::Abort が発生します。
@raise exception 引数 exceptio... -
IRB
. irb _ at _ exit -> () (18307.0) -
at_exit で登録された処理を実行します。
at_exit で登録された処理を実行します。
ユーザが直接使用するものではありません。 -
IRB
. irb _ exit(irb , ret) -> object (18307.0) -
irb を終了します。ret で指定したオブジェクトを返します。
...
irb を終了します。ret で指定したオブジェクトを返します。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。... -
IRB
:: ExtendCommandBundle # irb _ load(*opts , &b) -> nil (18307.0) -
現在の irb に関する IRB::Context に対して irb_load コマンドを実行 します。
...現在の irb に関する IRB::Context に対して irb_load コマンドを実行
します。
@see IRB::ExtendCommand::Load#execute... -
IRB
:: ExtendCommandBundle # irb _ require(*opts , &b) -> bool (18307.0) -
現在の irb に関する IRB::Context に対して irb_require コマンドを 実行します。
...現在の irb に関する IRB::Context に対して irb_require コマンドを
実行します。
@see IRB::ExtendCommand::Require#execute... -
IRB
:: Context # back _ trace _ limit -> Integer (18304.0) -
エラー発生時のバックトレース表示の先頭、末尾の上限の行数を返します。
...エラー発生時のバックトレース表示の先頭、末尾の上限の行数を返します。
デフォルト値は 16 です。
@see IRB::Context#back_trace_limit=... -
IRB
:: Context # back _ trace _ limit=(val) (18304.0) -
エラー発生時のバックトレース表示の先頭、末尾の上限の行数をそれぞれ val 行に設定します。
...ぞれ val
行に設定します。
.irbrc ファイル中で IRB.conf[:BACK_TRACE_LIMIT] を設定する事でも同様の
操作が行えます。
@param val バックトレース表示の先頭、末尾の上限を Integer で指定
します。
@see IRB::Context#back_trace_limit... -
IRB
:: Context # debug? -> bool (18304.0) -
irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し ているかどうかを返します。
...
irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し
ているかどうかを返します。
デフォルト値は false です。
@see IRB::Context#debug_level, IRB::Context#debug_level=... -
IRB
:: Context # debug _ level -> Integer (18304.0) -
irb のデバッグレベルを返します。
...
irb のデバッグレベルを返します。
デフォルト値は 0 です。
@see IRB::Context#debug_level=, IRB::Context#debug?... -
IRB
:: Context # debug _ level=(val) (18304.0) -
irb のデバッグレベルを val に設定します。
...
irb のデバッグレベルを val に設定します。
.irbrc ファイル中で IRB.conf[:DEBUG_LEVEL] を設定する事でも同様の操作
が行えます。
@see IRB::Context#debug_level, IRB::Context#debug?... -
IRB
:: Context # irb=(val) (18304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # irb _ name -> String (18304.0) -
起動しているコマンド名を文字列で返します。
...起動しているコマンド名を文字列で返します。
@see IRB::Context#irb_name=... -
IRB
:: Context # irb _ name=(val) (18304.0) -
起動しているコマンド名を val に設定します。
...起動しているコマンド名を val に設定します。
@param val コマンド名を String で指定します。
@see IRB::Context#irb_name... -
IRB
:: Context # irb _ path -> String (18304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # irb _ path=(val) (18304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # verbose=(val) (18304.0) -
標準出力に詳細なメッセージを出力するかどうかを val に設定します。
...メッセージを出力するかどうかを val に設定します。
.irbrc ファイル中で IRB.conf[:VERBOSE] を設定する事でも同様の操作が行え
ます。
false や nil を指定した場合でも、IRB::Context#verbose? が true を
返す場合は詳細なメッセージを......出力する事に注意してください。
@param val true を指定した場合、詳細なメッセージを出力します。false や
nil を指定した場合、詳細なメッセージを出力しません。
@see IRB::Context#verbose, IRB::Context#verbose?... -
IRB
:: ExtendCommand :: Nop # irb _ context -> IRB :: Context (18304.0) -
irb の現在の設定(IRB::Context)を返します。
...
irb の現在の設定(IRB::Context)を返します。... -
IRB
:: ExtendCommandBundle # irb _ context -> IRB :: Context (18304.0) -
現在の irb に関する IRB::Context を返します。
...現在の irb に関する IRB::Context を返します。... -
IRB
:: ExtendCommandBundle # irb _ exit(ret = 0) -> object (18304.0) -
irb を終了します。ret で指定したオブジェクトを返します。
...
irb を終了します。ret で指定したオブジェクトを返します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。... -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (18304.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
...method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method... -
IRB
:: Frame # bottom(n = 0) -> Binding (18304.0) -
下から n 番目のコンテキストを取り出します。
下から n 番目のコンテキストを取り出します。
@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
下位になります。 -
IRB
:: Frame . bottom(n = 0) -> Binding (18304.0) -
下から n 番目のコンテキストを取り出します。
下から n 番目のコンテキストを取り出します。
@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
下位になります。 -
IRB
:: InputMethod # readable _ atfer _ eof? -> false (18304.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
IRB
:: ReadlineInputMethod # readable _ atfer _ eof? -> false (18304.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
IRB
:: StdioInputMethod # readable _ atfer _ eof? -> true (18304.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
IRB (18007.0)
-
irb のメインモジュールです。
...irb のメインモジュールです。... -
IRB
:: Abort (18007.0) -
実行中の処理を中断する時に発生させる例外クラスです。
実行中の処理を中断する時に発生させる例外クラスです。 -
IRB
:: Irb (18007.0) -
irb インタプリタのメインルーチンです。
...irb インタプリタのメインルーチンです。
ユーザが直接使用するものではありません。... -
IRB
:: ExtendCommand :: IrbCommand (18004.0) -
irb 中の irb コマンドのための拡張を定義したクラスです。
...irb 中の irb コマンドのための拡張を定義したクラスです。... -
IRB
:: ExtendCommand :: Jobs (18004.0) -
irb 中の irb_jobs コマンドのための拡張を定義したクラスです。
...irb 中の irb_jobs コマンドのための拡張を定義したクラスです。... -
IRB
:: ExtendCommandBundle (18004.0) -
irb のコマンドを拡張するためのモジュールです。
...irb のコマンドを拡張するためのモジュールです。... -
IRB
:: HistorySavingAbility (18004.0) -
IRB::HistorySavingAbility を extend したオブジェクトに irb のヒス トリの読み込み、保存の機能を提供するモジュールです。
...IRB::HistorySavingAbility を extend したオブジェクトに irb のヒス
トリの読み込み、保存の機能を提供するモジュールです。... -
IRB
:: IrbLoader (18004.0) -
load または require 時の irb のファイル読み込み機能(irb_load、 irb_require)を定義するモジュールです。
...load または require 時の irb のファイル読み込み機能(irb_load、
irb_require)を定義するモジュールです。
ユーザが直接使用するものではありません。... -
IRB
:: LoadAbort (18004.0) -
irb 中で require などを中断した場合に発生する例外です。
...irb 中で require などを中断した場合に発生する例外です。... -
IRB
:: ExtendCommand :: ChangeWorkspace # execute(*obj) -> obj (9604.0) -
irb の self を obj で指定したオブジェクトに設定します。self に設定され たオブジェクトを返します。
...
irb の self を obj で指定したオブジェクトに設定します。self に設定され
たオブジェクトを返します。
@param obj 任意のオブジェクトを指定できます。複数指定した場合は先頭のオ
ブジェクトのみが設定されます。... -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace # execute(*obj) -> obj (9604.0) -
irb の self を返します。
...
irb の self を返します。
@param obj 使用しません。... -
IRB
:: ExtendCommand :: Kill # execute(*obj) -> object (9604.0) -
指定したサブ irb を停止します。
...指定したサブ irb を停止します。
@param obj 停止するサブ irb を識別する以下のいずれかのオブジェクトを指定します。
* irb インタプリタ番号
* irb オブジェクト
* スレッド ID
* 各インタプリタの self (「irb(obj)」で起動し... -
IRB
:: Frame # trace _ func(event , file , line , id , binding) -> Binding (9604.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: HistorySavingAbility . extended(obj) -> object (9604.0) -
obj に irb のヒストリの読み込み、保存の機能を提供します。
...obj に irb のヒストリの読み込み、保存の機能を提供します。
obj を返します。
@param obj IRB::HistorySavingAbility を extend したオブジェクトです。... -
IRB
:: OutputMethod # pp(*objs) -> object (9604.0) -
各 obj を inspect した文字列を self に出力し、最後に改行を出力します。
各 obj を inspect した文字列を self に出力し、最後に改行を出力します。
@param objs 任意のオブジェクトを指定します。 -
IRB
:: OutputMethod # ppx(prefix , *objs) -> object (9604.0) -
引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行 を出力します。
引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行
を出力します。
@param prefix 各 obj の先頭に追記する文字列を指定します。
@param objs 任意のオブジェクトを指定します。 -
IRB
:: OutputMethod # puts(*objs) -> object (9604.0) -
各 obj を self に出力し、それぞれの後に改行を出力します。
各 obj を self に出力し、それぞれの後に改行を出力します。
@param objs 任意のオブジェクトを指定します。 -
IRB
. CurrentContext -> IRB :: Context (9307.0) -
現在の irb に関する IRB::Context を返します。
...現在の irb に関する IRB::Context を返します。... -
IRB
. Inspector(inspect , init = nil) -> IRB :: Inspector (9304.0) -
IRB::Inspector オブジェクトを生成します。
...
IRB::Inspector オブジェクトを生成します。
@param inspect 実行結果の出力のための手続きオブジェクトを指定します。
@param init inspect_mode の初期化のための手続きオブジェクトを指定します。
あらかじめ require が必要... -
IRB
:: Context # auto _ indent _ mode -> bool (9304.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
...入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode=... -
IRB
:: Context # echo -> bool (9304.0) -
irb のプロンプトでの評価結果を表示するかどうかを返します。
...
irb のプロンプトでの評価結果を表示するかどうかを返します。
デフォルト値は false です。
@see IRB::Context#echo=... -
IRB
:: Context # echo? -> bool (9304.0) -
irb のプロンプトでの評価結果を表示するかどうかを返します。
...
irb のプロンプトでの評価結果を表示するかどうかを返します。
デフォルト値は false です。
@see IRB::Context#echo=... -
IRB
:: Context # evaluate(line , line _ no) -> object (9304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # exit(ret = 0) -> object (9304.0) -
irb を終了します。ret で指定したオブジェクトを返します。
...
irb を終了します。ret で指定したオブジェクトを返します。
@param ret 戻り値を指定します。
@see IRB.irb_exit... -
IRB
:: Context # file _ input? -> bool (9304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # ignore _ eof -> bool (9304.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
...Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
true の時は Ctrl-D を無視します。false の時は irb を終了します。
デフォルト値は false です。
@see IRB::Context#ignore_eof=... -
IRB
:: Context # ignore _ eof? -> bool (9304.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
...Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
true の時は Ctrl-D を無視します。false の時は irb を終了します。
デフォルト値は false です。
@see IRB::Context#ignore_eof=... -
IRB
:: Context # ignore _ sigint -> bool (9304.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
...Ctrl-C が入力された時に irb を終了するかどうかを返します。
false の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を......中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint=... -
IRB
:: Context # ignore _ sigint? -> bool (9304.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
...Ctrl-C が入力された時に irb を終了するかどうかを返します。
false の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を......中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint=... -
IRB
:: Context # inspect? -> bool (9304.0) -
IRB::Context#inspect_mode が有効かどうかを返します。
...
IRB::Context#inspect_mode が有効かどうかを返します。
@return 出力結果に to_s したものを表示する場合は false を返します。それ
以外の場合は true を返します。
@see IRB::Context#inspect_mode, IRB::Context#inspect_mode=... -
IRB
:: Context # inspect _ mode -> object | nil (9304.0) -
実行結果の出力方式を返します。
...実行結果の出力方式を返します。
@see IRB::Context#inspect_mode=... -
IRB
:: Context # io -> IRB :: InputMethod (9304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # last _ value -> object (9304.0) -
irb 中での最後の実行結果を返します。
...
irb 中での最後の実行結果を返します。... -
IRB
:: Context # main -> object (9304.0) -
self に設定されたオブジェクトを返します。
self に設定されたオブジェクトを返します。
@see cwws コマンド -
IRB
:: Context # prompt _ mode -> Symbol (9304.0) -
現在のプロンプトモードを Symbol で返します。
...そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。
定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。
@see IRB::Context#prompt_mode=, lib:irb#customize_prompt... -
IRB
:: Context # prompting? -> bool (9304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # rc -> bool (9304.0) -
~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
...~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
@return 設定ファイルの読み込みを行う場合は true を返します。行わない場
合(irb の起動時に -f オプションを指定した場合)は false を返しま... -
IRB
:: Context # rc? -> bool (9304.0) -
~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
...~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
@return 設定ファイルの読み込みを行う場合は true を返します。行わない場
合(irb の起動時に -f オプションを指定した場合)は false を返しま... -
IRB
:: Context # set _ last _ value(value) -> object (9304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # use _ loader -> bool (9304.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 (9304.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader=... -
IRB
:: Context # use _ readline -> bool | nil (9304.0) -
readline を使うかどうかを返します。
...inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--noreadline オプションの指定
を行います。... -
IRB
:: Context # use _ readline? -> bool | nil (9304.0) -
readline を使うかどうかを返します。
...inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--noreadline オプションの指定
を行います。... -
IRB
:: Context # use _ tracer -> bool (9304.0) -
irb への入力を評価する時に tracer が有効かどうかを返します。
...
irb への入力を評価する時に tracer が有効かどうかを返します。
@see tracer, IRB::Context#use_tracer=... -
IRB
:: Context # use _ tracer? -> bool (9304.0) -
irb への入力を評価する時に tracer が有効かどうかを返します。
...
irb への入力を評価する時に tracer が有効かどうかを返します。
@see tracer, IRB::Context#use_tracer=... -
IRB
:: Context # workspace -> IRB :: WorkSpace (9304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (9304.0) -
自身を初期化します。
...身を初期化します。
@param irb IRB::Irb オブジェクトを指定します。
@param workspace IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの......ジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
を指定します。省略した場合は
IRB::StdioOutputMethod オブジェクトが新しく
作... -
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (9304.0) -
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。
...
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。
@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま... -
IRB
:: ContextExtender . install _ extend _ commands -> object (9304.0) -
定義済みの拡張を読み込みます。
...みます。
IRB::Context で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExt... -
IRB
:: ExtendCommand :: Foreground # execute(*obj) -> IRB :: Irb (9304.0) -
指定したサブ irb に移動します。
...指定したサブ irb に移動します。
@param obj 移動するサブ irb を識別する以下のいずれかのオブジェクトを指定します。
* irb インタプリタ番号
* irb オブジェクト
* スレッド ID
* 各インタプリタの self (「irb(obj)」で起動し... -
IRB
:: ExtendCommand :: IrbCommand # execute(*obj) -> IRB :: Irb (9304.0) -
新しいサブ irb インタプリタを起動します。
...新しいサブ irb インタプリタを起動します。
@param obj 新しいサブ irb インタプリタで self にするオブジェクトを指定
します。省略した場合は irb を起動したときの main オブジェク
トを self にします。... -
IRB
:: ExtendCommand :: Jobs # execute -> IRB :: JobManager (9304.0) -
サブ irb のリストを返します。
...サブ irb のリストを返します。... -
IRB
:: ExtendCommand :: Nop . new(conf) -> IRB :: ExtendCommand :: Nop (9304.0) -
自身を初期化します。ユーザが直接使用するものではありません。
...自身を初期化します。ユーザが直接使用するものではありません。
@param conf IRB::Context オブジェクトを指定します。... -
IRB
:: ExtendCommand :: PopWorkspace # execute(*obj) -> [IRB :: WorkSpace] (9304.0) -
UNIX シェルコマンドの popd と同じです。
UNIX シェルコマンドの popd と同じです。
@param obj 使用しません。 -
IRB
:: ExtendCommand :: PushWorkspace # execute(*obj) -> [IRB :: WorkSpace] (9304.0) -
UNIX シェルコマンドの pushd と同じです。
...UNIX シェルコマンドの pushd と同じです。
@param obj IRB::WorkSpace オブジェクトを指定します。複数指定した
場合は先頭のオブジェクトのみが設定されます。... -
IRB
:: ExtendCommand :: Require # execute(file _ name) -> bool (9304.0) -
ファイル file_name を現在の irb インタプリタ上で実行します。
...ファイル file_name を現在の irb インタプリタ上で実行します。
file_name に Ruby スクリプトを指定した場合は、Kernel.#require と異
なり、file_name の内容を irb で一行ずつタイプしたかのように、irb 上で一
行ずつ評価されます。req... -
IRB
:: ExtendCommand :: Workspaces # execute(*obj) -> [IRB :: WorkSpace] (9304.0) -
現在のワークスペースの一覧を返します。
現在のワークスペースの一覧を返します。
@param obj 使用しません。 -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (9304.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...
irb に cmd_name で指定したメソッドが実行できるように拡張します。
@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があ......されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand 以下で定義
する必要があります。
@param load_file 指定したメソッドが定義されたファ......しま
す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定し... -
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (9304.0) -
定義済みの拡張を読み込みます。
...
irb で以下のメソッドが利用できるようになります。(それぞれ 1 つだけ抜粋)
* irb_current_working_workspace
* irb_change_workspace
* irb_workspaces
* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb......_kill
* irb_help
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ExtendCommandBundle.install_extend_commands... -
IRB
:: FileInputMethod . new(path) -> IRB :: FileInputMethod (9304.0) -
自身を初期化します。
自身を初期化します。
@param path パスを文字列で指定します。 -
IRB
:: Frame # top(n = 0) -> Binding (9304.0) -
上から n 番目のコンテキストを取り出します。
上から n 番目のコンテキストを取り出します。
@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
上位になります。 -
IRB
:: Frame . sender -> object (9304.0) -
センダになっているオブジェクトを取り出します。 センダとは、そのメソッドを呼び出した側の self のことです。
センダになっているオブジェクトを取り出します。
センダとは、そのメソッドを呼び出した側の self のことです。 -
IRB
:: Frame . top(n = 0) -> Binding (9304.0) -
上から n 番目のコンテキストを取り出します。
上から n 番目のコンテキストを取り出します。
@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
上位になります。 -
IRB
:: InputMethod . new(file = STDIN _ FILE _ NAME) -> IRB :: InputMethod (9304.0) -
自身を初期化します。
自身を初期化します。 -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (9304.0) -
新しい実行結果の出力方式を定義します。
...新しい実行結果の出力方式を定義します。
@param key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブ......ロックを指定しない場合には、実行結果の出力のための手続きオ
ブジェクトを指定します。
例.
# .irbrc
IRB::Inspector.def_inspector([:test]){ |v| v.to_s * 2 }
$ irb --inspect test
irb(main):001:0> :abc # => abcabc
@see lib:irb#inspect_mode... -
IRB
:: MagicFile . open(path) { |io| . . . } -> object (9304.0) -
引数 path で指定したファイルを開いて、ファイル中のマジックコメントをエ ンコーディングに設定します。
引数 path で指定したファイルを開いて、ファイル中のマジックコメントをエ
ンコーディングに設定します。
ブロックを指定した場合はブロックの実行結果を返します。ブロックを指定し
なかった場合はエンコーディングが設定された File オブジェクトを返
します。
@param path パスを文字列で指定します。 -
IRB
:: OutputMethod # print(*objs) (9304.0) -
NotImplementedError が発生します。
NotImplementedError が発生します。
@param objs 任意のオブジェクトを指定します。
@raise NotImplementedError 必ず発生します。 -
IRB
:: OutputMethod # printn(*objs) -> nil (9304.0) -
各 obj を self に出力し、最後に改行を出力します。
各 obj を self に出力し、最後に改行を出力します。
@param objs 任意のオブジェクトを指定します。 -
IRB
:: ReadlineInputMethod # eof? -> bool (9304.0) -
入力が EOF(End Of File)に達したかどうかを返します。
入力が EOF(End Of File)に達したかどうかを返します。 -
IRB
:: ReadlineInputMethod . new -> IRB :: ReadlineInputMethod (9304.0) -
自身を初期化します。
自身を初期化します。 -
IRB
:: StdioInputMethod # eof? -> bool (9304.0) -
入力が EOF(End Of File)に達したかどうかを返します。
入力が EOF(End Of File)に達したかどうかを返します。