Class: Capistrano::SSH
- Inherits:
-
Object
- Object
- Capistrano::SSH
- Defined in:
- lib/capitate/cap_ext/connections.rb
Overview
Debug connections
Class Method Summary collapse
Class Method Details
.connect_with_logging(server, options = {}, &block) ⇒ Object
92 93 94 95 96 97 98 99 100 |
# File 'lib/capitate/cap_ext/connections.rb', line 92 def connect_with_logging(server, ={}, &block) @connect_mutex ||= Mutex.new @connect_mutex.synchronize do puts "--- Connecting to #{server} with user: #{server.user || [:user]}" end connect_without_logging(server, , &block) end |