ライブラリ
- ビルトイン (12)
- delegate (204)
- forwardable (48)
- weakref (12)
クラス
- Delegator (168)
- Module (12)
- SimpleDelegator (24)
- WeakRef (12)
モジュール
- Forwardable (24)
- Kernel (12)
- SingleForwardable (24)
キーワード
- ! (12)
- != (12)
- == (12)
- DelegateClass (12)
-
_ _ getobj _ _ (36) -
_ _ setobj _ _ (24) - freeze (12)
-
instance
_ delegate (12) -
marshal
_ dump (12) -
marshal
_ load (12) -
method
_ missing (12) - methods (12)
-
protected
_ methods (12) -
public
_ methods (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
ruby2
_ keywords (12) -
single
_ delegate (12)
検索結果
先頭5件
-
Delegator
# marshal _ load(obj) -> object (11101.0) -
シリアライズされたオブジェクトから、Delegator#__getobj__ が返すオブジェクトを再現します。
...シリアライズされたオブジェクトから、Delegator#__getobj__ が返すオブジェクトを再現します。
@param obj Delegator#marshal_dumpの戻り値のコピー... -
Delegator
# ! -> bool (11001.0) -
自身を否定します。
自身を否定します。 -
Delegator
# !=(obj) -> bool (11001.0) -
自身が与えられたオブジェクトと等しくない場合は、真を返します。 そうでない場合は、偽を返します。
自身が与えられたオブジェクトと等しくない場合は、真を返します。
そうでない場合は、偽を返します。
@param obj 比較対象のオブジェクトを指定します。 -
Delegator
# ==(obj) -> bool (11001.0) -
自身が与えられたオブジェクトと等しい場合は、真を返します。 そうでない場合は、偽を返します。
自身が与えられたオブジェクトと等しい場合は、真を返します。
そうでない場合は、偽を返します。
@param obj 比較対象のオブジェクトを指定します。 -
Delegator
# freeze -> self (11001.0) -
自身を凍結します。
...自身を凍結します。
@see Object#freeze... -
WeakRef
# _ _ getobj _ _ -> object (6107.0) -
自身の参照先のオブジェクトを返します。
...自身の参照先のオブジェクトを返します。
@raise WeakRef::RefError GC 済みのオブジェクトを参照した場合に発生します。
@see delegate... -
Module
# ruby2 _ keywords(method _ name , . . . ) -> nil (107.0) -
For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.
... the given method names, marks the method as passing keywords through
a normal argument splat. This should only be called on methods that
accept an argument splat (`*args`) but not explicit keywords or a
keyword splat. It marks the method such that if the method is called
with keyword arguments, t......ent is marked with a special
flag such that if it is the final element of a normal argument splat to
another method call, and that method call does not include explicit
keywords or a keyword splat, the final element is interpreted as
keywords. In other words, keywords will be passed through the meth......od to
other methods.
This should only be used for methods that delegate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.
This method will probably be removed at some point, as it exists only
for backwards compatibility. As it does not exist in Ruby ve...