method
method_missing
method_missing(sym, *args, &block)
private
Hide source
# File lib/spec/mocks/mock.rb, line 39 def method_missing(sym, *args, &block) __mock_proxy.record_message_received(sym, args, block) begin return self if __mock_proxy.null_object? super(sym, *args, &block) rescue NameError __mock_proxy.raise_unexpected_message_error sym, *args end end