aboutsummaryrefslogtreecommitdiff
path: root/lib/sshconfig.rb
blob: 81ac11622ec7dc8ff0c48fdd884d787c3552b968 (plain)
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