Method: Inspec::Resources::LoginDef#read_params
- Defined in:
- lib/resources/login_def.rb
#read_params ⇒ Object
41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/resources/login_def.rb', line 41 def read_params return @params if defined?(@params) # parse the file conf = SimpleConfig.new( @content, assignment_regex: /^\s*(\S+)\s+(\S*)\s*$/, multiple_values: false, ) @params = conf.params end |