Sha256: 8b4e7bf845b7937e18badfe7f3ab35c7e926051328d2fcdb5738367a42aadf7c
Contents?: true
Size: 161 Bytes
Versions: 3
Compression:
Stored size: 161 Bytes
Contents
module Bogus class MatchesArgument def initialize(&block) @block = block end def ==(argument) @block.call(argument) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bogus-0.1.7 | lib/bogus/stubbing/matchers/matches_argument.rb |
bogus-0.1.6 | lib/bogus/stubbing/matchers/matches_argument.rb |
bogus-0.1.5 | lib/bogus/stubbing/matchers/matches_argument.rb |