Class Uttk::Streams::HexaDiff
In: lib/uttk/streams/HexaDiff.rb
Parent: Diff

Methods

Public Instance methods

FIXME: manage only !path :-(

[Source]

# File lib/uttk/streams/HexaDiff.rb, line 14
      def to_uttk_log ( log )
        if @name == "output"
          if @ref.can_diff?
            TempPath.new('hexa-diff-output') do |hexa_my|
              system "hexdump -C #@my > #{hexa_my}"
              TempPath.new('hexa-diff-output') do |hexa_ref|
                system "hexdump -C #@ref > #{hexa_ref}"
                log["hexa_diff_#@name"] = hexa_ref.to_diff_for_uttk_log(hexa_my)
              end
            end
          end
        else
          super
        end
      end

[Validate]