class RSpec::Mocks::MethodDouble

def add_stub(error_generator, expectation_ordering, expected_from, opts={}, &implementation)

Other tags:
    Private: -
def add_stub(error_generator, expectation_ordering, expected_from, opts={}, &implementation)
  configure_method
  stub = MessageExpectation.new(error_generator, expectation_ordering, expected_from,
                                self, :any, opts, &implementation)
  stubs.unshift stub
  stub
end