Sha256: a43433d5fa106334237214a1ce2a4b7587be63ca3d12a6169a11d67bd18d8946

Contents?: true

Size: 241 Bytes

Versions: 2

Compression:

Stored size: 241 Bytes

Contents

# frozen_string_literal: true

module Fear
  # @api private
  class SuccessPatternMatch < Fear::TryPatternMatch
    # @param conditions [<#==>]
    # @return [Fear::TryPatternMatch]
    def failure(*_conditions)
      self
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fear-1.2.0 lib/fear/success_pattern_match.rb
fear-1.1.0 lib/fear/success_pattern_match.rb