5件ヒット
[1-5件を表示]
(0.041秒)
クラス
- Delegator (4)
モジュール
- Kernel (1)
キーワード
- DelegateClass (1)
-
marshal
_ dump (1) -
protected
_ methods (1) -
public
_ methods (1) -
respond
_ to _ missing? (1)
検索結果
先頭5件
-
Delegator
# marshal _ dump -> object (18310.0) -
シリアライゼーションをサポートするためにDelegator#__getobj__ が返すオブジェクトを返します。
シリアライゼーションをサポートするためにDelegator#__getobj__ が返すオブジェクトを返します。 -
Delegator
# public _ methods(all = true) -> [Symbol] (18310.0) -
そのオブジェクトが理解できる public メソッド名の一覧を返します。
そのオブジェクトが理解できる public メソッド名の一覧を返します。
@param all 偽を指定すると __getobj__ のスーパークラスで定義されたメソッドを除きます。
@see Object#public_methods -
Delegator
# protected _ methods(all = true) -> [Symbol] (310.0) -
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
@param all 偽を指定すると __getobj__ のスーパークラスで定義されたメソッドを除きます。
@see Object#protected_methods -
Delegator
# respond _ to _ missing?(m , include _ private) -> bool (310.0) -
@param m メソッド名を指定します。
@param m メソッド名を指定します。
@param include_private 真を指定すると private メソッドも調べます。 -
Kernel
# DelegateClass(superclass) -> object (310.0) -
クラス superclass のインスタンスへメソッドを委譲するクラスを定義し、 そのクラスを返します。
...クラスを定義し、
そのクラスを返します。
@param superclass 委譲先となるクラス
例:
//emlist{
require 'delegate'
class ExtArray < DelegateClass(Array)
def initialize
super([])
end
end
a = ExtArray.new
p a.class # => ExtArray
a.push 25
p a # => [25]
//}...