Sha256: 9fad0a01d6f721e27fc4346300767557a6e7b5059a09f03626e37686718195c9
Contents?: true
Size: 457 Bytes
Versions: 1
Compression:
Stored size: 457 Bytes
Contents
module Similatron class BinaryDiffComparisonEngine < ComparisonEngine def can_handle_mime?(_) true end private def command(expected, actual, _diff_path) "#{executable_path} #{expected} #{actual}" end def default_executable_path "diff" end def diff_extension "notused" end def diff(_exec_result) nil end def score(exec_result) exec_result.status end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
similatron-0.2.0 | lib/similatron/binary_diff_comparison_engine.rb |