Class: Inspec::RunData::Profile::Input::Options
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Inspec::RunData::Profile::Input::Options
 
 
- Includes:
 - HashLikeStruct
 
- Defined in:
 - lib/inspec/run_data/profile.rb
 
Instance Attribute Summary collapse
- 
  
    
      #required  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute required.
 - 
  
    
      #sensitive  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute sensitive.
 - 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute type.
 - 
  
    
      #value  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute value.
 
Instance Method Summary collapse
- 
  
    
      #initialize(raw_opts_data)  ⇒ Options 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Options.
 
Methods included from HashLikeStruct
Constructor Details
#initialize(raw_opts_data) ⇒ Options
Returns a new instance of Options.
      103 104 105  | 
    
      # File 'lib/inspec/run_data/profile.rb', line 103 def initialize(raw_opts_data) %i{value type required sensitive}.each { |f| self[f] = raw_opts_data[f] } end  | 
  
Instance Attribute Details
#required ⇒ Object
Returns the value of attribute required
      95 96 97  | 
    
      # File 'lib/inspec/run_data/profile.rb', line 95 def required @required end  | 
  
#sensitive ⇒ Object
Returns the value of attribute sensitive
      95 96 97  | 
    
      # File 'lib/inspec/run_data/profile.rb', line 95 def sensitive @sensitive end  | 
  
#type ⇒ Object
Returns the value of attribute type
      95 96 97  | 
    
      # File 'lib/inspec/run_data/profile.rb', line 95 def type @type end  | 
  
#value ⇒ Object
Returns the value of attribute value
      95 96 97  | 
    
      # File 'lib/inspec/run_data/profile.rb', line 95 def value @value end  |