aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/duration.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-07-26 00:23:57 +0200
committerXavier Noria <fxn@hashref.com>2010-07-26 00:23:57 +0200
commit6aa12535881e00f156cf7ddacaba123ed181e015 (patch)
tree9a845318d1b41d1482304eafa235edd60ac7bd41 /activesupport/lib/active_support/duration.rb
parentdf95948d455b3a5f75fc01d41375dcd840549633 (diff)
parent7fb7a2bd69b86ee0a0e832f597f11d8cc1c787c9 (diff)
downloadrails-6aa12535881e00f156cf7ddacaba123ed181e015.tar.gz
rails-6aa12535881e00f156cf7ddacaba123ed181e015.tar.bz2
rails-6aa12535881e00f156cf7ddacaba123ed181e015.zip
Merge remote branch 'docrails/master'
Diffstat (limited to 'activesupport/lib/active_support/duration.rb')
-rw-r--r--activesupport/lib/active_support/duration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb
index cd0d66a482..7da357730b 100644
--- a/activesupport/lib/active_support/duration.rb
+++ b/activesupport/lib/active_support/duration.rb
@@ -4,8 +4,8 @@ require 'active_support/core_ext/object/acts_like'
module ActiveSupport
# Provides accurate date and time measurements using Date#advance and
- # Time#advance, respectively. It mainly supports the methods on Numeric,
- # such as in this example:
+ # Time#advance, respectively. It mainly supports the methods on Numeric.
+ # Example:
#
# 1.month.ago # equivalent to Time.now.advance(:months => -1)
class Duration < BasicObject