aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorEric Oestrich <eric@oestrich.org>2012-02-17 11:02:27 -0500
committerEric Oestrich <eric@oestrich.org>2012-02-17 11:02:27 -0500
commit3720d5ee197bea26d0719aa48c167bac4e7b0577 (patch)
tree7c7edc04b9dadc6c32bb958aceee6b3fd9303cbe /activesupport
parent9ee71e2378768cf0128ff49f31065bf18e85dfe1 (diff)
downloadrails-3720d5ee197bea26d0719aa48c167bac4e7b0577.tar.gz
rails-3720d5ee197bea26d0719aa48c167bac4e7b0577.tar.bz2
rails-3720d5ee197bea26d0719aa48c167bac4e7b0577.zip
Update Time#change docs to reflect the options it uses
[ci skip]
Diffstat (limited to 'activesupport')
-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 4f300329f5..dd2a21fe2a 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(