Sha256: 7a9a0e4576b6f21cb1a19fc5d80665977e8300189fa7464c6fb8c79f95700d15
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
module Matchi # **Untruth** matcher. class BeFalse < BasicObject # @example Is it false? # be_false = Matchi::BeFalse.new # be_false.matches? { false } # => true # # @return [Boolean] Comparison between actual and expected values. def matches? false.equal?(yield) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
matchi-0.0.5 | lib/matchi/be_false.rb |
matchi-0.0.4 | lib/matchi/be_false.rb |
matchi-0.0.3 | lib/matchi/be_false.rb |