method

eval_block

Importance_0
1.3.1 - Show latest stable - 0 notes - Class: Spec::Mocks::BaseExpectation
eval_block(*args, &block) protected

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/mocks/message_expectation.rb, line 174
      def eval_block(*args, &block)
        if @eval_context
          @eval_context.instance_exec(*args, &block)
        else
          block.call(*args)
        end
      end
Register or log in to add new notes.