aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/lib/active_support/duration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb
index b92891c511..d26bbac511 100644
--- a/activesupport/lib/active_support/duration.rb
+++ b/activesupport/lib/active_support/duration.rb
@@ -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] })