Sha256: 64230e77596f4f37002d4eaf67448dcea6b012ad58d825ed1bdfcc1ea9f4ad4c

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

module Mocktail::Matchers
  class Any < Base
    extend T::Sig

    def self.matcher_name
      :any
    end

    def initialize
      # Empty initialize is necessary b/c Base default expects an argument
    end

    def match?(actual)
      true
    end

    def inspect
      "any"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mocktail-2.0.0 lib/mocktail/matchers/any.rb