class Muack::Coat

Public Instance Methods

__mock_dispatch(actual_call) click to toggle source

used for mocked object to dispatch mocked method

Calls superclass method
# File lib/muack/coat.rb, line 7
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