d >> n â date
Instance Public methods
Returns a date object pointing n months after self. The n should be a
numeric value.
Date.new(2001,2,3) >> 1 #=> #<Date: 2001-03-03 ...>
Date.new(2001,1,31) >> 1 #=> #<Date: 2001-02-28 ...>
Date.new(2001,2,3) >> -2 #=> #<Date: 2000-12-03 ...>