instance method
recycle!
Ruby on Rails 3.0.20
Since v2.2.3 Last seen in v4.2.9Signature
recycle!()
No documentation comment.
Source
# File actionpack/lib/action_controller/test_case.rb, line 187
def recycle!
@status = 200
@header = {}
@writer = lambda { |x| @body << x }
@block = nil
@length = 0
@body = []
@charset = @content_type = nil
@request = @template = nil
end
Defined in actionpack/lib/action_controller/test_case.rb line 187
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestResponse