Ruby/Date/today
Материал из Wiki.crossplatform.ru
Версия от 18:00, 13 сентября 2010; ViGOur (Обсуждение | вклад)
With the today class method, you can create a date based on today"s date:
require "date" today = Date.today puts today.to_s