Logo

Programming-Idioms

History of Idiom 184 > diff from v11 to v12

Edit summary for version 12 by kamps:
[Ruby] require part was missing

Version 11

2019-09-26, 13:51:15

Version 12

2019-09-26, 13:52:01

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Imports
Imports
require "date"
Code
_t = Date.tomorrow.to_s
Code
_t = Date.tomorrow.to_s