Flowdock
method

eval_block

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Matchers::RaiseException
eval_block() public

No documentation

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

Hide source
# File lib/spec/matchers/raise_exception.rb, line 38
      def eval_block
        @eval_block = true
        begin
          @block[@actual_exception]
          @eval_block_passed = true
        rescue Exception => err
          @actual_exception = err
        end
      end
Register or log in to add new notes.