class RSpec::Mocks::BaseExpectation

def eval_block(*args, &block)

def eval_block(*args, &block)
  if @eval_context
    @eval_context.instance_exec(*args, &block)
  else
    block.call(*args)
  end
end