提交 bb456c0a 编写于 作者: A Abdelkader Boudih

Merge pull request #19207 from sivsushruth/doc_fix

Doc fix [ci skip]
......@@ -29,14 +29,14 @@ def absolute_value(number)
def options
@options ||= begin
defaults = default_format_options.merge(i18n_opts)
# Override negative format if format options is given
# Override negative format if format options are given
defaults[:negative_format] = "-#{opts[:format]}" if opts[:format]
defaults.merge!(opts)
end
end
def i18n_opts
# Set International negative format if not exists
# Set International negative format if it does not exist
i18n = i18n_format_options
i18n[:negative_format] ||= "-#{i18n[:format]}" if i18n[:format]
i18n
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册