diff options
author | Xavier Noria <fxn@hashref.com> | 2010-07-26 00:23:57 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-07-26 00:23:57 +0200 |
commit | 6aa12535881e00f156cf7ddacaba123ed181e015 (patch) | |
tree | 9a845318d1b41d1482304eafa235edd60ac7bd41 /activesupport/lib/active_support/duration.rb | |
parent | df95948d455b3a5f75fc01d41375dcd840549633 (diff) | |
parent | 7fb7a2bd69b86ee0a0e832f597f11d8cc1c787c9 (diff) | |
download | rails-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.rb | 4 |
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 |