aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorT.J. Schuck <tj@tjschuck.com>2018-12-17 16:10:26 -0500
committerT.J. Schuck <tj@tjschuck.com>2018-12-17 16:10:26 -0500
commit1981fb2dfda0d977ff1a227be2d420275be408d5 (patch)
tree42daaffecc0b35715530e8193be19c0bdc3672e2 /actionview
parent528c5bb224a2f9ea6eee7b15ef5de5e9d17bf309 (diff)
downloadrails-1981fb2dfda0d977ff1a227be2d420275be408d5.tar.gz
rails-1981fb2dfda0d977ff1a227be2d420275be408d5.tar.bz2
rails-1981fb2dfda0d977ff1a227be2d420275be408d5.zip
Fix doc formatting
[ci skip]
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/rendering.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/actionview/lib/action_view/rendering.rb b/actionview/lib/action_view/rendering.rb
index 4e5fdfbb2d..dfe58c3440 100644
--- a/actionview/lib/action_view/rendering.rb
+++ b/actionview/lib/action_view/rendering.rb
@@ -64,10 +64,11 @@ module ActionView
# An instance of a view class. The default view class is ActionView::Base.
#
# The view class must have the following methods:
- # View.new[lookup_context, assigns, controller]
- # Create a new ActionView instance for a controller and we can also pass the arguments.
- # View#render(option)
- # Returns String with the rendered template
+ #
+ # * <tt>View.new[lookup_context, assigns, controller]</tt> — Create a new
+ # ActionView instance for a controller and we can also pass the arguments.
+ #
+ # * <tt>View#render(option)</tt> — Returns String with the rendered template.
#
# Override this method in a module to change the default behavior.
def view_context