dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


Telling Time with Ruby

Feb 22, 2008, 05:30 (1 Talkback[s])
(Other stories by W. Jason Gilmore)

WEBINAR:
On-Demand

How to Help Your Business Become an AI Early Adopter


"Ask any Ruby developer what led them to embrace the language, and most will praise its 'beauty,' comparing Ruby's syntax to a eloquent poem or piece of art. Admittedly, this sort of aggrandization used to elicit a sneer from yours truly, although at that point I'd never actually looked into the language to determine what all of the fuss was about. That is, until one day a single line of Ruby code caught my attention while surfing online:

7.days.ago

"Made possible through the Active Support gem, when executed, this line of code will return the date and time occuring exactly seven days prior to its execution..."

Complete Story

Related Stories:


×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.