Class: Parameter::ParameterRepository
- Inherits:
- 
      RubyUtils::Parameter::BaseParameterRepository
      
        - Object
- RubyUtils::Parameter::BaseParameterRepository
- Parameter::ParameterRepository
 
- Defined in:
- lib/parameter/parameter_repository.rb
Overview
Parameter repository storing the valid parameter of the script. #initialize gets the provided parameters and fills a hash which grants access on the provided parameters and their arguments
Instance Method Summary collapse
- 
  
    
      #define_mapping  ⇒ Object 
    
    
  
  
  
  
  private
  
  
  
  
    method to define the input string values that will match a given paramter symbol. 
- 
  
    
      #process_argument(arg)  ⇒ Object 
    
    
  
  
  
  
  private
  
  
  
  
    method to read further argument and process it depending on its content. 
Instance Method Details
#define_mapping ⇒ Object (private)
method to define the input string values that will match a given paramter symbol
| 23 24 25 26 | # File 'lib/parameter/parameter_repository.rb', line 23 def define_mapping # no additional parameters nil end | 
#process_argument(arg) ⇒ Object (private)
method to read further argument and process it depending on its content
| 16 17 18 19 20 | # File 'lib/parameter/parameter_repository.rb', line 16 def process_argument(arg) # no additional paramaeters raise_invalid_parameter(arg) nil end |