class RSpec::Mocks::MessageExpectation

def and_throw(*args)

Overloads:
  • and_throw(symbol, object)
  • and_throw(symbol)
def and_throw(*args)
  self.terminal_implementation_action = Proc.new { throw(*args) }
  nil
end