Exception: Puppet::Exceptions::ExpectationsFailError
- Inherits:
- 
      StandardError
      
        - Object
- StandardError
- Puppet::Exceptions::ExpectationsFailError
 
- Defined in:
- lib/puppet/exceptions/expectations_fail.rb
Overview
Exceptions trown when given Expectations aren’t met
Instance Attribute Summary collapse
- 
  
    
      #message  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute message. 
Instance Method Summary collapse
- 
  
    
      #initialize(message = '')  ⇒ ExpectationsFailError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ExpectationsFailError. 
Constructor Details
#initialize(message = '') ⇒ ExpectationsFailError
Returns a new instance of ExpectationsFailError.
| 9 10 11 | # File 'lib/puppet/exceptions/expectations_fail.rb', line 9 def initialize( = '') @message = end | 
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
| 7 8 9 | # File 'lib/puppet/exceptions/expectations_fail.rb', line 7 def @message end |