Class: ConfigReader::Configuration
- Inherits:
- 
      Object
      
        - Object
- ConfigReader::Configuration
 
- Defined in:
- lib/config_reader.rb
Instance Attribute Summary collapse
- 
  
    
      #config_file  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute config_file. 
- 
  
    
      #environment  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute environment. 
- 
  
    
      #ignore_missing_keys  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute ignore_missing_keys. 
- 
  
    
      #permitted_classes  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute permitted_classes. 
- 
  
    
      #sekrets_file  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute sekrets_file. 
Instance Method Summary collapse
- 
  
    
      #initialize  ⇒ Configuration 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Configuration. 
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
| 151 152 153 154 155 156 157 | # File 'lib/config_reader.rb', line 151 def initialize @config_file = nil @environment = nil @ignore_missing_keys = false @permitted_classes = [] @sekrets_file = nil end | 
Instance Attribute Details
#config_file ⇒ Object
Returns the value of attribute config_file.
| 145 146 147 | # File 'lib/config_reader.rb', line 145 def config_file @config_file end | 
#environment ⇒ Object
Returns the value of attribute environment.
| 145 146 147 | # File 'lib/config_reader.rb', line 145 def environment @environment end | 
#ignore_missing_keys ⇒ Object
Returns the value of attribute ignore_missing_keys.
| 145 146 147 | # File 'lib/config_reader.rb', line 145 def ignore_missing_keys @ignore_missing_keys end | 
#permitted_classes ⇒ Object
Returns the value of attribute permitted_classes.
| 145 146 147 | # File 'lib/config_reader.rb', line 145 def permitted_classes @permitted_classes end | 
#sekrets_file ⇒ Object
Returns the value of attribute sekrets_file.
| 145 146 147 | # File 'lib/config_reader.rb', line 145 def sekrets_file @sekrets_file end |