1 2 3 4 5 6 7 8 9 10 11 12 13
require 'host' require 'hosts' module SSHConfig YES = "yes" NO = "no" $hostlist = Hosts.new{} def hosts(&blk) $hostlist.merge(Hosts.new(&blk)) end end