In C#, There is a method AddDays([number of days]) in DateTime class.
Is there any kind of method like this in ruby?
The Date class provides a + operator that does just that.
Date
+
>> d = Date.today => # >> d.to_s => "2009-08-31" >> (d+3).to_s => "2009-09-03" >>