提交 829ec373 编写于 作者: F Francesco Rodriguez

fix nodoc in metal/live

上级 f6068f1d
require 'action_dispatch/http/response' require 'action_dispatch/http/response'
require 'delegate' require 'delegate'
module ActionController # :nodoc: module ActionController
# Mix this module in to your controller, and all actions in that controller # Mix this module in to your controller, and all actions in that controller
# will be able to stream data to the client as it's written. # will be able to stream data to the client as it's written.
# #
...@@ -31,7 +31,7 @@ module ActionController # :nodoc: ...@@ -31,7 +31,7 @@ module ActionController # :nodoc:
# the main thread. Make sure your actions are thread safe, and this shouldn't # the main thread. Make sure your actions are thread safe, and this shouldn't
# be a problem (don't share state across threads, etc). # be a problem (don't share state across threads, etc).
module Live module Live
class Buffer < ActionDispatch::Response::Buffer # :nodoc: class Buffer < ActionDispatch::Response::Buffer #:nodoc:
def initialize(response) def initialize(response)
super(response, Queue.new) super(response, Queue.new)
end end
...@@ -57,8 +57,8 @@ def close ...@@ -57,8 +57,8 @@ def close
end end
end end
class Response < ActionDispatch::Response # :nodoc: class Response < ActionDispatch::Response #:nodoc: all
class Header < DelegateClass(Hash) # :nodoc: class Header < DelegateClass(Hash)
def initialize(response, header) def initialize(response, header)
@response = response @response = response
super(header) super(header)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册