From b99ef016fe098b6ffb7d7184c34943d63915d3f0 Mon Sep 17 00:00:00 2001 From: ohbarye Date: Fri, 11 Aug 2017 23:24:34 +0900 Subject: Fix RDoc formatting: `+` doesn't work with `@` refs: https://github.com/rails/rails/pull/30161 ``` $ echo "+@size+" | rdoc --pipe

+@size+

$ echo "@size" | rdoc --pipe

@size

``` [ci skip] --- actionview/lib/action_view/renderer/partial_renderer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview') diff --git a/actionview/lib/action_view/renderer/partial_renderer.rb b/actionview/lib/action_view/renderer/partial_renderer.rb index f548fc24ed..f2edcb750c 100644 --- a/actionview/lib/action_view/renderer/partial_renderer.rb +++ b/actionview/lib/action_view/renderer/partial_renderer.rb @@ -355,7 +355,7 @@ module ActionView # finds the options and details and extracts them. The method also contains # logic that handles the type of object passed in as the partial. # - # If +options[:partial]+ is a string, then the +@path+ instance variable is + # If +options[:partial]+ is a string, then the @path instance variable is # set to that string. Otherwise, the +options[:partial]+ object must # respond to +to_partial_path+ in order to setup the path. def setup(context, options, block) -- cgit v1.2.3