class ActionController::StreamingResponseTest::TestController
Public Class Methods
controller_path()
click to toggle source
# File actionpack/test/controller/streaming_test.rb, line 8 def self.controller_path "test" end
Public Instance Methods
basic_stream()
click to toggle source
# File actionpack/test/controller/streaming_test.rb, line 12 def basic_stream %w{ hello world }.each do |word| response.stream.write word response.stream.write "\n" end response.stream.close end