From 831b814a8778aad0d038aab550b7d405d4a69d37 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sat, 1 Sep 2012 23:49:55 +0530 Subject: copy edits [ci skip] --- activesupport/lib/active_support/core_ext/date/calculations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/core_ext/date/calculations.rb b/activesupport/lib/active_support/core_ext/date/calculations.rb index 2daa3b7fa9..31726962e3 100644 --- a/activesupport/lib/active_support/core_ext/date/calculations.rb +++ b/activesupport/lib/active_support/core_ext/date/calculations.rb @@ -106,7 +106,7 @@ class Date end # Returns a new Date where one or more of the elements have been changed according to the +options+ parameter. - # The +options+ parameter takes a hash with any of these keys: :years, :month, :day. + # The +options+ parameter is a hash with a combination of these keys: :year, :month, :day. # # Date.new(2007, 5, 12).change(:day => 1) # => Date.new(2007, 5, 1) # Date.new(2007, 5, 12).change(:year => 2005, :month => 1) # => Date.new(2005, 1, 12) -- cgit v1.2.3