Sha256: f823fe4728da820f08ee7960e24efa35394f4e8e3af216cc92e8e81ceef4eb91
Contents?: true
Size: 193 Bytes
Versions: 1
Compression:
Stored size: 193 Bytes
Contents
module Matchi # **Nil** matcher. class BeNil < BasicObject # @return [Boolean] Comparison between actual and expected values. def matches? nil.equal?(yield) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
matchi-0.0.2 | lib/matchi/be_nil.rb |