# File lib/net/ssh/connection/driver.rb, line 72 def open_channel( type, extra_data=nil, &on_confirm ) channel = @factories[:open].call( type, extra_data ) channel.on_confirm_open(&on_confirm) @channel_map[ channel.local_id ] = channel end