Sha256: 80f82e430bbeb92325399ce422db93d1795b7930aea852abb71b326bcd64e9a8
Contents?: true
Size: 328 Bytes
Versions: 6
Compression:
Stored size: 328 Bytes
Contents
# frozen_string_literal: true module WhatWeb module Matcher class TagPattern < Base attr_reader :tag_pattern def initialize(target, match) super(target, match) @tag_pattern = match[:tag_pattern] end def match? tag_pattern == target.tag_pattern end end end end
Version data entries
6 entries across 6 versions & 1 rubygems