# File lib/net/ssh/known_hosts.rb, line 52 52: def add(host, key, options={}) 53: hostfiles(options, :user).each do |file| 54: begin 55: KnownHosts.new(file).add(host, key) 56: return 57: rescue SystemCallError 58: # try the next hostfile 59: end 60: end 61: end