/ Published in: Ruby
Expand |
Embed | Plain Text
class Date class <<self # I like Time#now, this should have been included into Date def now; self.new(Time.now.year,Time.now.month,Time.now.day); end end end
You need to login to post a comment.
