Sha256: 09885d43081c18f0d0c86c91adad3c1882ab5b55aea684f7a024335ea0feb923
Contents?: true
Size: 272 Bytes
Versions: 1
Compression:
Stored size: 272 Bytes
Contents
module WhatWeb module Matcher class Status < Base attr_reader :status def initialize(target, match) super(target, match) @status = match[:status].to_i end def match? status == target.status end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_whatweb-0.1.0 | lib/whatweb/matcher/status.rb |