Ruby/Date/today
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
With the today class method, you can create a date based on today"s date:
require "date" today = Date.today puts today.to_s
Личные инструменты |
ПросмотрыRuby/Date/todayМатериал из Wiki.crossplatform.ruВерсия от 17:10, 26 мая 2010; (Обсуждение)
With the today class method, you can create a date based on today"s date:require "date" today = Date.today puts today.to_s |