Method: Inspec::Resources::Bond#read_content
- Defined in:
- lib/resources/bond.rb
#read_content ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/resources/bond.rb', line 28 def read_content @params = SimpleConfig.new( @content, assignment_regex: /^\s*([^:]*?)\s*:\s*(.*?)\s*$/, multiple_values: true, ).params if @file.exist? @loaded = true @content end |