Exception: ChefApply::CLI::OptionValidationError
- Inherits:
- 
      ErrorNoLogs
      
        - Object
- StandardError
- Error
- ErrorNoLogs
- ChefApply::CLI::OptionValidationError
 
- Defined in:
- lib/chef_apply/cli/validation.rb
Instance Attribute Summary collapse
- 
  
    
      #command  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute command. 
Attributes inherited from Error
#decorate, #id, #params, #show_log, #show_stack
Instance Method Summary collapse
- 
  
    
      #initialize(id, calling_command, *args)  ⇒ OptionValidationError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OptionValidationError. 
Constructor Details
#initialize(id, calling_command, *args) ⇒ OptionValidationError
Returns a new instance of OptionValidationError.
| 93 94 95 96 97 98 | # File 'lib/chef_apply/cli/validation.rb', line 93 def initialize(id, calling_command, *args) super(id, *args) # TODO - this is getting cumbersome - move them to constructor options hash in base @decorate = false @command = calling_command end | 
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
| 92 93 94 | # File 'lib/chef_apply/cli/validation.rb', line 92 def command @command end |