Browse files

removing trailing spaces

  • Loading branch information...
1 parent 7dba512 commit fc6ab69777af21db3afb45de8ae08ffc316e69e9 Francesco Rodriguez committed May 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 activesupport/lib/active_support/core_ext/string/conversions.rb
View
6 activesupport/lib/active_support/core_ext/string/conversions.rb
@@ -17,9 +17,9 @@ def to_time(form = :utc)
# Converts a string to a Date value.
#
- # "1-1-2012".to_date #=> Sun, 01 Jan 2012
- # "01/01/2012".to_date #=> Sun, 01 Jan 2012
- # "2012-12-13".to_date #=> Thu, 13 Dec 2012
+ # "1-1-2012".to_date #=> Sun, 01 Jan 2012
+ # "01/01/2012".to_date #=> Sun, 01 Jan 2012
+ # "2012-12-13".to_date #=> Thu, 13 Dec 2012
# "12/13/2012".to_date #=> ArgumentError: invalid date
def to_date
unless blank?

0 comments on commit fc6ab69

Please sign in to comment.