Class: AsciiDataTools::Filter::BufferingFilter

Inherits:
Filter
  • Object
show all
Defined in:
lib/ascii-data-tools/filter.rb

Direct Known Subclasses

Diffing::DiffExecutingFilter, SortingFilter

Instance Method Summary collapse

Methods inherited from Filter

#<<, #has_records?, #read, #write

Constructor Details

#initialize(&block) ⇒ BufferingFilter

Returns a new instance of BufferingFilter.



39
40
41
42
# File 'lib/ascii-data-tools/filter.rb', line 39

def initialize(&block)
  @first_time = true
  @filter_all_block = block
end