class RSpec::Mocks::MessageExpectation

def thrice(&block)

Returns:
  • (MessageExpectation) - self, to support further chaining.
def thrice(&block)
  self.inner_implementation_action = block
  set_expected_received_count :exactly, 3
  self
end