Module: ASpaceExport::LazyChildEnumerations
- Included in:
 - EADModel
 - Defined in:
 - backend/app/exporters/lib/export_helpers.rb
 
Instance Method Summary (collapse)
Instance Method Details
- (Object) children_indexes
      152 153 154 155 156 157 158  | 
    
      # File 'backend/app/exporters/lib/export_helpers.rb', line 152 def children_indexes if @children.count > 0 (0...@children.count) else [] end end  | 
  
- (Object) get_child(index)
      161 162 163 164  | 
    
      # File 'backend/app/exporters/lib/export_helpers.rb', line 161 def get_child(index) subtree = @children[index] @child_class.new(subtree, @repo_id) end  |