Sha256: 5626b0ee8591b8ec1b0634c912881c7a8f019ed034c4954eb532137a36a4ace6
Contents?: true
Size: 271 Bytes
Versions: 46
Compression:
Stored size: 271 Bytes
Contents
# frozen_string_literal: true module LicenseFinder class License class AnyMatcher def initialize(*matchers) @matchers = matchers end def matches_text?(text) @matchers.any? { |m| m.matches_text? text } end end end end
Version data entries
46 entries across 46 versions & 2 rubygems