Sha256: f6cf126d82cecb1752add1ae8b1309d3677f95875ba754b9cf660ed130a834c6
Contents?: true
Size: 319 Bytes
Versions: 4
Compression:
Stored size: 319 Bytes
Contents
require 'muack/mock' module Muack class Coat < Mock # used for mocked object to dispatch mocked method def __mock_dispatch actual_call defi = super if __mock_defis[defi.msg].empty? __mock_reset_method(defi) __mock_injected.delete(defi.msg) end defi end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
muack-1.7.0 | lib/muack/coat.rb |
muack-1.6.0 | lib/muack/coat.rb |
muack-1.5.1 | lib/muack/coat.rb |
muack-1.5.0 | lib/muack/coat.rb |