Class: AsciiDataTools::Filter::Diffing::DiffExecutingFilter
- Inherits:
-
BufferingFilter
- Object
- Filter
- BufferingFilter
- AsciiDataTools::Filter::Diffing::DiffExecutingFilter
- Includes:
- ExternalPrograms
- Defined in:
- lib/ascii-data-tools/filter/diffing.rb
Instance Method Summary collapse
-
#initialize ⇒ DiffExecutingFilter
constructor
A new instance of DiffExecutingFilter.
Methods included from ExternalPrograms
#diff, #diff_command_for, #edit_differences, #modify_file_mtime_to, #sort
Methods inherited from Filter
#<<, #has_records?, #read, #write
Constructor Details
#initialize ⇒ DiffExecutingFilter
Returns a new instance of DiffExecutingFilter.
31 32 33 34 35 36 37 |
# File 'lib/ascii-data-tools/filter/diffing.rb', line 31 def initialize super do |tempfiles| stream = diff(tempfiles) raise StreamsEqualException.new if stream.eof? stream end end |