Skip to content

Commit

Permalink
Merge pull request rails#36804 from vzvu3k6k/tt
Browse files Browse the repository at this point in the history
[ci skip] Fix unclosed tags in `Inflector` docs
  • Loading branch information
vipulnsward committed Jul 29, 2019
2 parents 8b0b591 + 515238b commit 8d2e75e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -116,7 +116,7 @@ def transliterate(string, replacement = "?", locale: nil)
# If the optional parameter +locale+ is specified,
# the word will be parameterized as a word of that language.
# By default, this parameter is set to <tt>nil</tt> and it will use
# the configured <tt>I18n.locale<tt>.
# the configured <tt>I18n.locale</tt>.
def parameterize(string, separator: "-", preserve_case: false, locale: nil)
# Replace accented chars with their ASCII equivalents.
parameterized_string = transliterate(string, locale: locale)
Expand Down

0 comments on commit 8d2e75e

Please sign in to comment.