452件ヒット
[1-100件を表示]
(0.218秒)
ライブラリ
- ビルトイン (44)
- e2mmap (12)
-
fiddle
/ import (55) - forwardable (22)
-
irb
/ cmd / chws (22) -
irb
/ cmd / help (11) -
irb
/ cmd / load (33) -
irb
/ cmd / nop (22) -
irb
/ cmd / pushws (33) -
irb
/ cmd / subirb (44) -
irb
/ ext / use-loader (22) -
irb
/ extend-command (33) - open-uri (33)
- openssl (22)
- socket (44)
クラス
- IO (22)
-
IRB
:: ExtendCommand :: ChangeWorkspace (11) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (11) -
IRB
:: ExtendCommand :: Foreground (11) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: ExtendCommand :: IrbCommand (11) -
IRB
:: ExtendCommand :: Jobs (11) -
IRB
:: ExtendCommand :: Kill (11) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Nop (22) -
IRB
:: ExtendCommand :: PopWorkspace (11) -
IRB
:: ExtendCommand :: PushWorkspace (11) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: ExtendCommand :: Workspaces (11) - Object (22)
-
OpenSSL
:: SSL :: SSLSocket (11) - Socket (22)
- UDPSocket (11)
- UNIXServer (11)
モジュール
- Exception2MessageMapper (12)
-
Fiddle
:: Importer (55) - Forwardable (22)
-
IRB
:: ExtendCommandBundle (55) -
OpenSSL
:: Buffering (11) -
OpenURI
:: OpenRead (33)
キーワード
- Fail (6)
- Raise (6)
-
accept
_ nonblock (22) - bind (11)
-
connect
_ nonblock (11) -
create
_ value (11) -
def
_ instance _ delegator (11) - execute (154)
-
install
_ alias _ method (11) -
instance
_ delegate (11) -
irb
_ context (22) -
irb
_ exit (11) -
irb
_ load (11) -
irb
_ require (11) -
kind
_ of? (11) - open (22)
- read (11)
-
read
_ nonblock (22) -
recvfrom
_ nonblock (22) - struct (11)
- union (11)
- value (11)
-
write
_ nonblock (11)
検索結果
先頭5件
-
IRB
:: ExtendCommandBundle # install _ alias _ method(to , from , override = NO _ OVERRIDE) (24301.0) -
メソッドのエイリアスを定義します。ライブラリ内部で使用します。
...を定義します。ライブラリ内部で使用します。
@param to 新しいメソッド名を Symbol か文字列で指定します。
@param from 元のメソッド名を Symbol か文字列で指定します。
@param override 新しいメソッド名が定義済みであった場合に......のメソッドを
上書きするかどうかを
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
で指定します。... -
Object
# extend(*modules) -> self (24262.0) -
引数で指定したモジュールのインスタンスメソッドを self の特異 メソッドとして追加します。
...nclude は、クラス(のインスタンス)に機能を追加します
が、extend は、ある特定のオブジェクトだけにモジュールの機能を追加
したいときに使用します。
引数に複数のモジュールを指定した場合、最後
の引数から逆順に exten......@param modules モジュールを任意個指定します(クラスは不可)。
@return self を返します。
//emlist[][ruby]{
module Foo
def a
'ok Foo'
end
end
module Bar
def b
'ok Bar'
end
end
obj = Object.new
obj.extend Foo, Bar
p obj.a #=> "ok Foo"
p obj.b #=> "ok Bar"......class Klass
include Foo
extend Bar
end
p Klass.new.a #=> "ok Foo"
p Klass.b #=> "ok Bar"
//}
extend の機能は、「特異クラスに対する Module#include」
と言い替えることもできます。
ただしその場合、フック用のメソッド
が Module#extended ではな... -
IRB
:: ExtendCommandBundle # irb _ context -> IRB :: Context (18201.0) -
現在の irb に関する IRB::Context を返します。
...現在の irb に関する IRB::Context を返します。... -
IRB
:: ExtendCommandBundle # irb _ load(*opts , &b) -> nil (18201.0) -
現在の irb に関する IRB::Context に対して irb_load コマンドを実行 します。
...現在の irb に関する IRB::Context に対して irb_load コマンドを実行
します。
@see IRB::ExtendCommand::Load#execute... -
IRB
:: ExtendCommand :: IrbCommand # execute(*obj) -> IRB :: Irb (18001.0) -
新しいサブ irb インタプリタを起動します。
...新しいサブ irb インタプリタを起動します。
@param obj 新しいサブ irb インタプリタで self にするオブジェクトを指定
します。省略した場合は irb を起動したときの main オブジェク
トを self にします。... -
IRB
:: ExtendCommand :: Nop # irb _ context -> IRB :: Context (15201.0) -
irb の現在の設定(IRB::Context)を返します。
...irb の現在の設定(IRB::Context)を返します。... -
IRB
:: ExtendCommand :: ChangeWorkspace # execute(*obj) -> obj (15001.0) -
irb の self を obj で指定したオブジェクトに設定します。self に設定され たオブジェクトを返します。
...irb の self を obj で指定したオブジェクトに設定します。self に設定され
たオブジェクトを返します。
@param obj 任意のオブジェクトを指定できます。複数指定した場合は先頭のオ
ブジェクトのみが設定されます。... -
IRB
:: ExtendCommand :: Foreground # execute(*obj) -> IRB :: Irb (15001.0) -
指定したサブ irb に移動します。
...指定したサブ irb に移動します。
@param obj 移動するサブ irb を識別する以下のいずれかのオブジェクトを指定します。
* irb インタプリタ番号
* irb オブジェクト
* スレッド ID
* 各インタプリタの self (「irb(obj)」で起動し... -
IRB
:: ExtendCommandBundle # irb _ exit(ret = 0) -> object (15001.0) -
irb を終了します。ret で指定したオブジェクトを返します。
...irb を終了します。ret で指定したオブジェクトを返します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。... -
IRB
:: ExtendCommandBundle # irb _ require(*opts , &b) -> bool (15001.0) -
現在の irb に関する IRB::Context に対して irb_require コマンドを 実行します。
...現在の irb に関する IRB::Context に対して irb_require コマンドを
実行します。
@see IRB::ExtendCommand::Require#execute...