aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflector
diff options
context:
space:
mode:
authorT.J. Schuck <tj@tjschuck.com>2017-11-22 14:45:51 -0500
committerT.J. Schuck <tj@tjschuck.com>2017-11-22 14:45:51 -0500
commit3063ace1070e4ddb8d0cc09fbd23049e7b21617a (patch)
treee5d5a5978ec1ee537cc7e2352df2b2e7c7614b64 /activesupport/lib/active_support/inflector
parent858baa099b26f6b3e9eb8376d9c09559fe5cc599 (diff)
downloadrails-3063ace1070e4ddb8d0cc09fbd23049e7b21617a.tar.gz
rails-3063ace1070e4ddb8d0cc09fbd23049e7b21617a.tar.bz2
rails-3063ace1070e4ddb8d0cc09fbd23049e7b21617a.zip
Update incorrect backtick usage in RDoc to teletype
[ci skip]
Diffstat (limited to 'activesupport/lib/active_support/inflector')
-rw-r--r--activesupport/lib/active_support/inflector/transliterate.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/inflector/transliterate.rb b/activesupport/lib/active_support/inflector/transliterate.rb
index 9fb3a2e0af..6f2ca4999c 100644
--- a/activesupport/lib/active_support/inflector/transliterate.rb
+++ b/activesupport/lib/active_support/inflector/transliterate.rb
@@ -73,12 +73,12 @@ module ActiveSupport
# parameterize("Donald E. Knuth") # => "donald-e-knuth"
# parameterize("^très|Jolie-- ") # => "tres-jolie"
#
- # To use a custom separator, override the `separator` argument.
+ # To use a custom separator, override the +separator+ argument.
#
# parameterize("Donald E. Knuth", separator: '_') # => "donald_e_knuth"
# parameterize("^très|Jolie__ ", separator: '_') # => "tres_jolie"
#
- # To preserve the case of the characters in a string, use the `preserve_case` argument.
+ # To preserve the case of the characters in a string, use the +preserve_case+ argument.
#
# parameterize("Donald E. Knuth", preserve_case: true) # => "Donald-E-Knuth"
# parameterize("^très|Jolie-- ", preserve_case: true) # => "tres-Jolie"