Method: Inspec::Resources::SshConfig#convert_hash

Defined in:
lib/inspec/resources/ssh_config.rb

#convert_hash(hash) ⇒ Object



38
39
40
41
42
43
44
# File 'lib/inspec/resources/ssh_config.rb', line 38

def convert_hash(hash)
  new_hash = {}
  hash.each do |k, v|
    new_hash[k.downcase] = v
  end
  new_hash
end