method

and_yield

and_yield(*args)
public

No documentation available.

# File lib/spec/mocks/message_expectation.rb, line 80
      def and_yield(*args)
        if @args_to_yield_were_cloned
          @args_to_yield.clear
          @args_to_yield_were_cloned = false
        end
        
        @args_to_yield << args
        self
      end