diff options
author | ohbarye <over.rye@gmail.com> | 2017-08-11 23:24:34 +0900 |
---|---|---|
committer | ohbarye <over.rye@gmail.com> | 2017-08-11 23:29:10 +0900 |
commit | b99ef016fe098b6ffb7d7184c34943d63915d3f0 (patch) | |
tree | bddb0e710d496f302e412393753d7dde26ebe8b9 /actionview | |
parent | 98298092093d733bed2a874e3d2c455fe45386a3 (diff) | |
download | rails-b99ef016fe098b6ffb7d7184c34943d63915d3f0.tar.gz rails-b99ef016fe098b6ffb7d7184c34943d63915d3f0.tar.bz2 rails-b99ef016fe098b6ffb7d7184c34943d63915d3f0.zip |
Fix RDoc formatting: `+` doesn't work with `@`
refs: https://github.com/rails/rails/pull/30161
```
$ echo "+@size+" | rdoc --pipe
<p>+@size+</p>
$ echo "<tt>@size</tt>" | rdoc --pipe
<p><code>@size</code></p>
```
[ci skip]
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/renderer/partial_renderer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 <tt>@path</tt> 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) |