aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-03-03 13:50:48 +0000
committerAndrew White <andrew.white@unboxed.co>2017-03-03 13:51:22 +0000
commitfd8da7111835f5c2c136216504330ff01b9eafae (patch)
treec7515c823c0c631394775b99714823ce5752a970 /activesupport
parentcf11ea0f0de1d1befda8a9b266bb764497b6c4fb (diff)
downloadrails-fd8da7111835f5c2c136216504330ff01b9eafae.tar.gz
rails-fd8da7111835f5c2c136216504330ff01b9eafae.tar.bz2
rails-fd8da7111835f5c2c136216504330ff01b9eafae.zip
Fix typo in comment
Diffstat (limited to 'activesupport')
-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] })