Remove unused variable
This commit is contained in:
parent
b4615ff979
commit
ea84b0c618
@ -194,7 +194,7 @@ def end_of_month
|
||||
# Returns a new date/time representing the end of the year.
|
||||
# DateTime objects will have a time set to 23:59:59.
|
||||
def end_of_year
|
||||
result = change(:month => 12).end_of_month
|
||||
change(:month => 12).end_of_month
|
||||
end
|
||||
alias :at_end_of_year :end_of_year
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user