diff options
author | claudiob <claudiob@gmail.com> | 2014-11-20 14:54:22 -0800 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2014-11-20 15:45:15 -0800 |
commit | 5aedabe82d3a9d7df19007aa0fd7719d4a55ef7e (patch) | |
tree | 52fcd692acad849a460663be37b7d654ba9328ba /actionview/lib/action_view/template | |
parent | ee80e22f03b36f5e2c35288226c66a44e2e722e2 (diff) | |
download | rails-5aedabe82d3a9d7df19007aa0fd7719d4a55ef7e.tar.gz rails-5aedabe82d3a9d7df19007aa0fd7719d4a55ef7e.tar.bz2 rails-5aedabe82d3a9d7df19007aa0fd7719d4a55ef7e.zip |
Wrap code snippets in +, not backticks, in sdoc
I grepped the source code for code snippets wrapped in backticks in the comments
and replaced the backticks with plus signs so they are correctly displayed in
the Rails documentation.
[ci skip]
Diffstat (limited to 'actionview/lib/action_view/template')
-rw-r--r-- | actionview/lib/action_view/template/handlers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/template/handlers.rb b/actionview/lib/action_view/template/handlers.rb index 33bfcb458c..ff2feb5149 100644 --- a/actionview/lib/action_view/template/handlers.rb +++ b/actionview/lib/action_view/template/handlers.rb @@ -22,7 +22,7 @@ module ActionView #:nodoc: # Register an object that knows how to handle template files with the given # extensions. This can be used to implement new template types. - # The handler must respond to `:call`, which will be passed the template + # The handler must respond to +:call+, which will be passed the template # and should return the rendered template as a String. def register_template_handler(*extensions, handler) raise(ArgumentError, "Extension is required") if extensions.empty? |