aboutsummaryrefslogtreecommitdiff
path: root/lib/sshconfig.rb
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2017-01-19 10:54:32 +0000
committerNat Lasseter <user@4574.co.uk>2017-01-19 10:54:32 +0000
commit07a17b442d7d7a397d076babfaa29fd2620921d7 (patch)
tree03d9095590bfe16b15d11b944b527c6d43b49e41 /lib/sshconfig.rb
Initial commit
Diffstat (limited to 'lib/sshconfig.rb')
-rw-r--r--lib/sshconfig.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/sshconfig.rb b/lib/sshconfig.rb
new file mode 100644
index 0000000..204a127
--- /dev/null
+++ b/lib/sshconfig.rb
@@ -0,0 +1,13 @@
+require 'host'
+require 'hosts'
+
+module SSHConfig
+ YES = "yes"
+ NO = "no"
+
+ $hostlist = Hosts.new{}
+
+ def hosts
+ $hostlist.merge(Hosts.new(&Proc.new))
+ end
+end