Sha256: f6d050abc1daa88e1e4a99fd29d113a5bb9b84a76caea2f41db3d3ef7a0d9199
Contents?: true
Size: 435 Bytes
Versions: 10
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true module Leftovers module Matchers class Or # :nocov: using ::Leftovers::Backports::SetCaseEq if defined?(::Leftovers::Backports::SetCaseEq) # :nocov: attr_reader :lhs, :rhs def initialize(lhs, rhs) @lhs = lhs @rhs = rhs freeze end def ===(value) @lhs === value || @rhs === value end freeze end end end
Version data entries
10 entries across 10 versions & 1 rubygems