Sha256: b2a6c273b563da401bc5a335560adcfca8480f11c56c5f10d22a99a094069bc4
Contents?: true
Size: 304 Bytes
Versions: 5
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true 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
5 entries across 5 versions & 1 rubygems