aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorEric Oestrich <eric@oestrich.org>2012-02-17 11:02:27 -0500
committerVijay Dev <vijaydev.cse@gmail.com>2012-02-18 22:21:27 +0530
commitea54d2c93ef9c6dede74923fddc5962e5753f223 (patch)
tree15ac25c476bbbd71840f4978613e8897288c92c9 /activesupport/lib/active_support
parent168e6532d52e372cd87941fa15d5c33262b3c73c (diff)
downloadrails-ea54d2c93ef9c6dede74923fddc5962e5753f223.tar.gz
rails-ea54d2c93ef9c6dede74923fddc5962e5753f223.tar.bz2
rails-ea54d2c93ef9c6dede74923fddc5962e5753f223.zip
Update Time#change docs to reflect the options it uses
[ci skip]
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/core_ext/time/calculations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/time/calculations.rb b/activesupport/lib/active_support/core_ext/time/calculations.rb
index cfb835a3a5..69b98d24d3 100644
--- a/activesupport/lib/active_support/core_ext/time/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/time/calculations.rb
@@ -67,7 +67,7 @@ class Time
end
# Returns a new Time where one or more of the elements have been changed according to the +options+ parameter. The time options
- # (hour, minute, sec, usec) reset cascadingly, so if only the hour is passed, then minute, sec, and usec is set to 0. If the hour and
+ # (hour, min, sec, usec) reset cascadingly, so if only the hour is passed, then minute, sec, and usec is set to 0. If the hour and
# minute is passed, then sec and usec is set to 0.
def change(options)
::Time.send(