class AbstractController::Testing::ControllerRenderer
Public Instance Methods
_prefixes()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 11 def _prefixes %w[renderer] end
default()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 40 def default render end
file()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 28 def file render file: "some/file" end
inline()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 32 def inline render inline: "With <%= :Inline %>" end
string()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 44 def string render "string" end
string_with_path()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 48 def string_with_path render "string/with_path" end
symbol()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 52 def symbol render :symbol end
template()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 24 def template render template: "template" end
text()
click to toggle source
# File actionview/test/actionpack/abstract/render_test.rb, line 36 def text render plain: "With Text" end