aboutsummaryrefslogtreecommitdiff
path: root/lib/sshconfig.rb
diff options
context:
space:
mode:
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