Class: CanvasSync::Importers::BulkImporter::NullRowBuffer
- Inherits:
 - 
      Object
      
        
- Object
 - CanvasSync::Importers::BulkImporter::NullRowBuffer
 
 
- Defined in:
 - lib/canvas_sync/importers/bulk_importer.rb
 
Instance Method Summary collapse
- #<<(v) ⇒ Object
 - #flush ⇒ Object
 - 
  
    
      #initialize(&block)  ⇒ NullRowBuffer 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of NullRowBuffer.
 
Constructor Details
#initialize(&block) ⇒ NullRowBuffer
Returns a new instance of NullRowBuffer.
      183 184 185  | 
    
      # File 'lib/canvas_sync/importers/bulk_importer.rb', line 183 def initialize(&block) @flush_out = block end  | 
  
Instance Method Details
#<<(v) ⇒ Object
      187 188 189  | 
    
      # File 'lib/canvas_sync/importers/bulk_importer.rb', line 187 def <<(v) @flush_out.call(v) end  | 
  
#flush ⇒ Object
      191  | 
    
      # File 'lib/canvas_sync/importers/bulk_importer.rb', line 191 def flush; end  |