Sha256: 0c0d91d55233749fbfe02d9d034141ee410cade326ebfb9dd51d2b555f363f5f
Contents?: true
Size: 324 Bytes
Versions: 6
Compression:
Stored size: 324 Bytes
Contents
require 'muack/mock' module Muack class Coat < Mock # used for mocked object to dispatch mocked method def __mock_dispatch msg, actual_args 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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
muack-1.4.0 | lib/muack/coat.rb |
muack-1.3.2 | lib/muack/coat.rb |
muack-1.3.1 | lib/muack/coat.rb |
muack-1.3.0 | lib/muack/coat.rb |
muack-1.2.0 | lib/muack/coat.rb |
muack-1.1.2 | lib/muack/coat.rb |