class Inspec::Resources::IniConfig

Public Instance Methods

parse(content) click to toggle source
# File lib/inspec/resources/ini.rb, line 15
def parse(content)
  SimpleConfig.new(content).params
end

Private Instance Methods

resource_base_name() click to toggle source

used by JsonConfig to build up a full to_s method based on whether a file path, content, or command was supplied.

# File lib/inspec/resources/ini.rb, line 23
def resource_base_name
  "INI"
end