method
    
    eval_block
 
  
      1.2.0 - 
      Show latest stable
 - 
    0 notes - 
    Class: Spec::Matchers::RaiseError
    
  
  
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0
- 1.3.1
- What's this?
eval_block()
  public
  
    Hide source    
    
      
  
# File lib/spec/matchers/raise_error.rb, line 37 def eval_block @eval_block = true begin @block[@given_error] @eval_block_passed = true rescue Exception => err @given_error = err end end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
    
     = protected
 = protected
  