別のキーワード
ライブラリ
- ビルトイン (18)
- delegate (240)
- forwardable (48)
- openssl (12)
-
shell
/ command-processor (12) - weakref (24)
クラス
- Delegator (168)
- Module (12)
- Proc (6)
-
Shell
:: CommandProcessor (12) - SimpleDelegator (36)
- WeakRef (12)
モジュール
- Forwardable (24)
- Kernel (12)
-
OpenSSL
:: OCSP (12) - SingleForwardable (24)
キーワード
- ! (12)
- != (12)
- == (12)
- DelegateClass (12)
- Delegator (12)
-
NEWS for Ruby 2
. 7 . 0 (6) - NODELEGATED (12)
- NoDelegateMethods (6)
- Ruby用語集 (12)
- SimpleDelegator (12)
- WeakRef (12)
-
_ _ getobj _ _ (36) -
_ _ setobj _ _ (24) -
add
_ delegate _ command _ to _ shell (6) - freeze (12)
-
instance
_ delegate (12) -
marshal
_ dump (12) -
marshal
_ load (12) -
method
_ missing (12) - methods (12)
- new (12)
-
protected
_ methods (12) -
public
_ methods (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
ruby 1
. 8 . 3 feature (12) -
ruby2
_ keywords (18) -
single
_ delegate (12)
検索結果
先頭5件
-
Delegator
# ==(obj) -> bool (8000.0) -
自身が与えられたオブジェクトと等しい場合は、真を返します。 そうでない場合は、偽を返します。
自身が与えられたオブジェクトと等しい場合は、真を返します。
そうでない場合は、偽を返します。
@param obj 比較対象のオブジェクトを指定します。 -
Delegator
# _ _ getobj _ _ -> object (8000.0) -
委譲先のオブジェクトを返します。
委譲先のオブジェクトを返します。
本メソッドは、サブクラスで再定義する必要があり、
デフォルトでは NotImplementedError が発生します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。 -
Delegator
# _ _ setobj _ _ (obj) -> object (8000.0) -
委譲先のオブジェクトをセットします。
委譲先のオブジェクトをセットします。
@param obj 委譲先のオブジェクトを指定します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。 -
Delegator
# freeze -> self (8000.0) -
自身を凍結します。
自身を凍結します。
@see Object#freeze -
Delegator
# marshal _ dump -> object (8000.0) -
シリアライゼーションをサポートするためにDelegator#__getobj__ が返すオブジェクトを返します。
シリアライゼーションをサポートするためにDelegator#__getobj__ が返すオブジェクトを返します。 -
Delegator
# marshal _ load(obj) -> object (8000.0) -
シリアライズされたオブジェクトから、Delegator#__getobj__ が返すオブジェクトを再現します。
シリアライズされたオブジェクトから、Delegator#__getobj__ が返すオブジェクトを再現します。
@param obj Delegator#marshal_dumpの戻り値のコピー -
Delegator
# method _ missing(m , *args) -> object (8000.0) -
渡されたメソッド名と引数を使って、Delegator#__getobj__ が返すオブジェクトへメソッド委譲を行います。
渡されたメソッド名と引数を使って、Delegator#__getobj__ が返すオブジェクトへメソッド委譲を行います。
@param m メソッドの名前(シンボル)
@param args メソッドに渡された引数
@return 委譲先のメソッドからの返り値
@see BasicObject#method_missing -
Delegator
# methods -> [Symbol] (8000.0) -
そのオブジェクトに対して呼び出せるメソッド名の一覧を返します。 このメソッドは public メソッドおよび protected メソッドの名前を返します。
そのオブジェクトに対して呼び出せるメソッド名の一覧を返します。
このメソッドは public メソッドおよび protected メソッドの名前を返します。
@see Object#methods -
Delegator
# protected _ methods(all = true) -> [Symbol] (8000.0) -
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
@param all 偽を指定すると __getobj__ のスーパークラスで定義されたメソッドを除きます。
@see Object#protected_methods