Sha256: caa97adb1ae9b9140593315256b3fada036a9815954681f260a3d5c834a8d0ce

Contents?: true

Size: 182 Bytes

Versions: 4

Compression:

Stored size: 182 Bytes

Contents

# frozen_string_literal: true

module Fear
  # @api private
  class LeftPatternMatch < Fear::EitherPatternMatch
    def right(*)
      self
    end
    alias success right
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fear-2.0.1 lib/fear/left_pattern_match.rb
fear-2.0.0 lib/fear/left_pattern_match.rb
fear-1.2.0 lib/fear/left_pattern_match.rb
fear-1.1.0 lib/fear/left_pattern_match.rb