# File lib/net/ssh/connection/driver.rb, line 90 def add_channel_open_handler( type, &block ) ( @channel_open_handlers[ type ] ||= Array.new ).push block @channel_open_handlers.length end