diff options
author | Vipul A M <vipulnsward@gmail.com> | 2018-12-18 06:06:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 06:06:45 +0800 |
commit | 51a1abc8fb9a47bb4779ce5b4701c11041eaca39 (patch) | |
tree | 42daaffecc0b35715530e8193be19c0bdc3672e2 /actionview/lib/action_view | |
parent | 528c5bb224a2f9ea6eee7b15ef5de5e9d17bf309 (diff) | |
parent | 1981fb2dfda0d977ff1a227be2d420275be408d5 (diff) | |
download | rails-51a1abc8fb9a47bb4779ce5b4701c11041eaca39.tar.gz rails-51a1abc8fb9a47bb4779ce5b4701c11041eaca39.tar.bz2 rails-51a1abc8fb9a47bb4779ce5b4701c11041eaca39.zip |
Merge pull request #34733 from tjschuck/view_context_doc_formatting
Fix doc formatting [ci skip]
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/rendering.rb | 9 |
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 |