1392件ヒット
[1-100件を表示]
(0.022秒)
種類
- インスタンスメソッド (1092)
- 特異メソッド (264)
- 定数 (36)
クラス
-
IRB
:: Context (720) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: Foreground (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) -
IRB
:: ExtendCommand :: Kill (12) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Nop (36) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Require (12) -
IRB
:: ExtendCommand :: Source (12) -
IRB
:: ExtendCommand :: Workspaces (12) -
IRB
:: FileInputMethod (12) -
IRB
:: Frame (48) -
IRB
:: InputMethod (12) -
IRB
:: Inspector (24) -
IRB
:: OutputMethod (60) -
IRB
:: ReadlineInputMethod (12) -
IRB
:: StdioInputMethod (12) -
IRB
:: StdioOutputMethod (12) - XMP (24)
モジュール
- IRB (48)
-
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (132) -
IRB
:: HistorySavingAbility (36) - Kernel (12)
オブジェクト
-
IRB
:: MagicFile (24)
キーワード
- Inspector (12)
-
NO
_ OVERRIDE (12) -
OVERRIDE
_ ALL (12) -
OVERRIDE
_ PRIVATE _ ONLY (12) -
ap
_ name (12) -
ap
_ name= (12) -
auto
_ indent _ mode (12) -
auto
_ indent _ mode= (12) -
back
_ trace _ limit (12) -
back
_ trace _ limit= (12) - bottom (24)
- debug? (12)
-
debug
_ level (12) -
debug
_ level= (12) -
def
_ extend _ command (24) -
def
_ inspector (12) - echo (12)
- echo= (12)
- echo? (12)
-
eval
_ history (12) -
eval
_ history= (12) - execute (168)
- exit (12)
-
extend
_ object (12) - extended (12)
- gets (12)
-
history
_ file (12) -
history
_ file= (12) -
ignore
_ eof (12) -
ignore
_ eof= (12) -
ignore
_ eof? (12) -
ignore
_ sigint (12) -
ignore
_ sigint= (12) -
ignore
_ sigint? (12) -
init
_ save _ history (12) - inspect? (12)
-
inspect
_ mode (12) -
inspect
_ mode= (12) -
install
_ alias _ method (12) -
install
_ extend _ commands (24) -
irb
_ abort (12) -
irb
_ exit (24) -
irb
_ load (12) -
irb
_ name (12) -
irb
_ name= (12) -
irb
_ original _ method _ name (12) -
irb
_ require (12) -
keys
_ with _ inspector (12) - line (24)
-
load
_ history (12) - main (12)
- math? (4)
-
math
_ mode (4) -
math
_ mode= (4) - new (48)
- open (24)
- pp (12)
- ppx (12)
- print (24)
- printn (12)
-
prompt
_ c (12) -
prompt
_ c= (12) -
prompt
_ i (12) -
prompt
_ i= (12) -
prompt
_ mode (12) -
prompt
_ mode= (12) -
prompt
_ n (12) -
prompt
_ n= (12) -
prompt
_ s (12) -
prompt
_ s= (12) - puts (24)
- rc (12)
- rc? (12)
-
return
_ format (12) -
return
_ format= (12) -
save
_ history (24) -
save
_ history= (12) - start (12)
- thread (12)
- top (24)
-
use
_ loader (12) -
use
_ loader= (12) -
use
_ loader? (12) -
use
_ readline (12) -
use
_ readline? (12) -
use
_ tracer (12) -
use
_ tracer= (12) -
use
_ tracer? (12) - verbose (12)
- verbose= (12)
- verbose? (12)
- xmp (12)
検索結果
先頭5件
- IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context - IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object - IRB
. irb _ abort(irb , exception = Abort) - IRB
:: Context # math _ mode=(opt) - IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object
-
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (25.0) -
自身を初期化します。
...自身を初期化します。
@param irb IRB::Irb オブジェクトを指定します。
@param workspace IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラス......オブジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
を指定します。省略した場合は
IRB::StdioOutputMethod オブジェクトが新しく... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (25.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...
irb に cmd_name で指定したメソッドが実行できるように拡張します。
@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があ......ます。
@param cmd_class 指定した拡張が定義されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand 以下で定義
する必要があります。
@param load_......
@param aliases cmd_name の別名を Symbol とフラグの配列で指定しま
す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::Ex... -
IRB
. irb _ abort(irb , exception = Abort) (20.0) -
実行中の処理を中断します。必ず例外が発生するため、何も返しません。
...生するため、何も返しません。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param exception 発生させる例外を指定します。指定しなかった場合は
IRB::Abort が発生します。
@raise exception 引数 exception で指定... -
IRB
:: Context # math _ mode=(opt) (19.0) -
math_mode を有効にするかどうかを指定します。
...かどうかを指定します。
.irbrc ファイル中で IRB.conf[:MATH_MODE] を設定する事でも同様の事が行え
ます。
mathn ライブラリを include するため、math_mode を有効にした後は
無効にする事ができません。
@param opt math_mode を有効にす......る場合に true を指定します。
@raise IRB::CantReturnToNormalMode 既に math_mode の状態で opt に
false か nil を指定した場合に発生します。
@see IRB::Context#math_mode... -
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (19.0) -
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。
...
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。
@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま......す。
@param load_file cmd_name で指定したメソッドが定義されたファイル名を指
定します。このファイルは自動的に require されます。
@param aliases cmd_name の別名を Symbol で指定します。複数指定する事ができます。... -
IRB
:: ExtendCommand :: Load # execute(file _ name , priv = nil) -> nil (19.0) -
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実 行します。
...なし、現在の irb インタプリタ上で実
行します。
Kernel.#load と異なり、path の内容を irb で一行ずつタイプしたかの
ように、irb 上で一行ずつ評価されます。
@param file_name ファイル名を文字列で指定します。
@param priv 真を指......定した場合は実行は内部的に生成される無名モジュール上
で行われ、グローバルな名前空間を汚染しません。
@raise LoadError 読み込みに失敗した場合に発生します。... -
IRB
:: ExtendCommandBundle # install _ alias _ method(to , from , override = NO _ OVERRIDE) (19.0) -
メソッドのエイリアスを定義します。ライブラリ内部で使用します。
...アスを定義します。ライブラリ内部で使用します。
@param to 新しいメソッド名を Symbol か文字列で指定します。
@param from 元のメソッド名を Symbol か文字列で指定します。
@param override 新しいメソッド名が定義済みであった場......合にそのメソッドを
上書きするかどうかを
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
で指定し... -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (19.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
. irb _ exit(irb , ret) -> object (14.0) -
irb を終了します。ret で指定したオブジェクトを返します。
...
irb を終了します。ret で指定したオブジェクトを返します。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。...