Sha256: 9b3fdbb0b2ea910dfeb2c3342c49ac4f016e17a39b3138fc191b74a5ec4bc482

Contents?: true

Size: 166 Bytes

Versions: 6

Compression:

Stored size: 166 Bytes

Contents

# frozen_string_literal: true

module WhatWeb
  module Matcher
    class MD5 < Base
      def match?
        target.md5sum == match[:md5]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/matcher/md5.rb
simple_whatweb-0.4.0 lib/whatweb/matcher/md5.rb
simple_whatweb-0.3.0 lib/whatweb/matcher/md5.rb
simple_whatweb-0.2.1 lib/whatweb/matcher/md5.rb
simple_whatweb-0.2.0 lib/whatweb/matcher/md5.rb
simple_whatweb-0.1.0 lib/whatweb/matcher/md5.rb