Method: Docker::Util.attach_for_tty
- Defined in:
- lib/docker/util.rb
.attach_for_tty(block, msg_stack) ⇒ Object
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/docker/util.rb', line 25 def attach_for_tty(block, msg_stack) = Docker::Messages.new lambda do |c,r,t| . << c . << c msg_stack.append() block.call c if block end end |