Sha256: 966bf8e7c73cdade929f30986487787d36feaf520e920c4e479057c454891396
Contents?: true
Size: 433 Bytes
Versions: 25
Compression:
Stored size: 433 Bytes
Contents
module Approvals module Reporters class ImageMagickReporter include Singleton def working_in_this_environment? Approvals::SystemCommand.exists? "compare" end def create_command_line(received, approved) "compare #{received} #{approved} -compose Src x:" end def report(received, approved) system(create_command_line(received, approved)) end end end end
Version data entries
25 entries across 25 versions & 2 rubygems