diff options
Diffstat (limited to 'lib/sshconfig.rb')
-rw-r--r-- | lib/sshconfig.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sshconfig.rb b/lib/sshconfig.rb index 204a127..81ac116 100644 --- a/lib/sshconfig.rb +++ b/lib/sshconfig.rb @@ -7,7 +7,7 @@ module SSHConfig $hostlist = Hosts.new{} - def hosts - $hostlist.merge(Hosts.new(&Proc.new)) + def hosts(&blk) + $hostlist.merge(Hosts.new(&blk)) end end |