Sha256: 428907abdccae64a21091b5ff032c9b2cb1b74b287b2cac02f6bfdeb42b505bf

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

module Matchi
  # **Untruth** matcher.
  class BeFalse < BasicObject
    # @return [Boolean] Comparison between actual and expected values.
    def matches?
      false.equal?(yield)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
matchi-0.0.2 lib/matchi/be_false.rb