# File lib/drydock/screen.rb, line 23 23: def flush 24: @@mutex.synchronize do 25: #return if @@offset == @@output.tell 26: @@output.seek @@offset 27: STDOUT.puts @@output.read unless @@output.eof? 28: @@offset = @@output.tell 29: end 30: end