Source: show | on GitHub
# File actionpack/test/controller/streaming_test.rb, line 6 def self.controller_path 'test' end
# File actionpack/test/controller/streaming_test.rb, line 10 def basic_stream %w{ hello world }.each do |word| response.stream.write word response.stream.write "\n" end response.stream.close end