# File lib/net/ssh/known_hosts.rb, line 64 64: def add(host, key, options={}) 65: hostfiles(options, :user).each do |file| 66: begin 67: KnownHosts.new(file).add(host, key) 68: return 69: rescue SystemCallError 70: # try the next hostfile 71: end 72: end 73: end