Class: Fingerprint::Command::Compare
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- Fingerprint::Command::Compare
- Defined in:
- lib/fingerprint/command/compare.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
43 44 45 46 47 48 49 50 51 52 |
# File 'lib/fingerprint/command/compare.rb', line 43 def call = @options.dup [:output] = @parent.output error_count = Checker.check_files(@master, @copy, **) if @options[:fail_on_errors] abort "Data inconsistent, #{error_count} error(s) found!" if error_count != 0 end end |