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