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

Fix typo in comment

This commit is contained in:
Andrew White 2017-03-03 13:50:48 +00:00
parent cf11ea0f0d
commit fd8da71118

View file

@ -139,7 +139,7 @@ module ActiveSupport
end
end
# Devides this Duration by a Numeric and returns a new Duration.
# Divides this Duration by a Numeric and returns a new Duration.
def /(other)
if Numeric === other
Duration.new(value / other, parts.map { |type, number| [type, number / other] })