1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[ci skip] Fix lower case comments without punctuation

This commit is contained in:
BakiVernes 2019-10-25 14:50:30 +02:00
parent 6a27a88b9c
commit 616fc86e81
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ module ActiveSupport
@number = RoundingHelper.new(options).round(number)
@number = Float(number)
# for backwards compatibility with those that didn't add strip_insignificant_zeros to their locale files
# For backwards compatibility with those that didn't add strip_insignificant_zeros to their locale files.
unless options.key?(:strip_insignificant_zeros)
options[:strip_insignificant_zeros] = true
end

View file

@ -13,7 +13,7 @@ module ActiveSupport
def convert
@number = Float(number)
# for backwards compatibility with those that didn't add strip_insignificant_zeros to their locale files
# For backwards compatibility with those that didn't add strip_insignificant_zeros to their locale files.
unless options.key?(:strip_insignificant_zeros)
options[:strip_insignificant_zeros] = true
end