method
add_stub
add_stub(expected_from, sym, opts={})
public
Hide source
# File lib/spec/mocks/proxy.rb, line 58 def add_stub(expected_from, sym, opts={}) __add sym @stubs.unshift MessageExpectation.new(@error_generator, @expectation_ordering, expected_from, sym, nil, :any, opts) @stubs.first end