Class: Capnp::ObjectList
- Inherits:
 - 
      Object
      
        
- Object
 - Capnp::ObjectList
 
 
- Extended by:
 - T::Generic, T::Sig
 
- Includes:
 - List
 
- Defined in:
 - lib/capnp/runtime/list/object/list.rb
 
Constant Summary collapse
- Elem =
 type_member(:out)
Instance Method Summary collapse
- 
  
    
      #initialize(array)  ⇒ ObjectList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ObjectList.
 - #length ⇒ Object
 - #to_obj ⇒ Object
 
Methods included from List
Constructor Details
#initialize(array) ⇒ ObjectList
Returns a new instance of ObjectList.
      14 15 16  | 
    
      # File 'lib/capnp/runtime/list/object/list.rb', line 14 def initialize(array) @array = array end  | 
  
Instance Method Details
#length ⇒ Object
      22  | 
    
      # File 'lib/capnp/runtime/list/object/list.rb', line 22 def length = @array.length  | 
  
#to_obj ⇒ Object
      25  | 
    
      # File 'lib/capnp/runtime/list/object/list.rb', line 25 def to_obj = @array  |