Method: Inspec::Resources::SshConf#convert_hash

Defined in:
lib/resources/ssh_conf.rb

#convert_hash(hash) ⇒ Object



35
36
37
38
39
40
41
# File 'lib/resources/ssh_conf.rb', line 35

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