12件ヒット
  
    
      [1-12件を表示]
    
  
    (0.552秒)
  
  
モジュール
- Kernel (12)
検索結果
- 
      Kernel# DelegateClass(superclass) -> object (21114.0) 
- 
      
      
      クラス superclass のインスタンスへメソッドを委譲するクラスを定義し、 そのクラスを返します。 ...perclass のインスタンスへメソッドを委譲するクラスを定義し、
 そのクラスを返します。
 @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]
 //}...

 :
:![条件を削除 [x]](/images/drop-condition-icon.png)
 :delegate
:delegate