Exception: AssertExceptionError
- Inherits:
 - 
      RuntimeError
      
        
- Object
 - RuntimeError
 - AssertExceptionError
 
 
- Defined in:
 - lib/exceptions.rb
 
Instance Method Summary collapse
- 
  
    
      #initialize(&block)  ⇒ AssertExceptionError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AssertExceptionError.
 - #message ⇒ Object
 
Constructor Details
#initialize(&block) ⇒ AssertExceptionError
Returns a new instance of AssertExceptionError.
      12 13 14  | 
    
      # File 'lib/exceptions.rb', line 12 def initialize(&block) @msg = "Assertion " + block.to_source + " failed to throw an exception" end  | 
  
Instance Method Details
#message ⇒ Object
      16 17 18  | 
    
      # File 'lib/exceptions.rb', line 16 def @msg end  |