Class: Time
Overview
Declared to bypass a rubygems 1.3.2 bug :(
Class Method Summary collapse
Class Method Details
.today ⇒ Object
3 4 5 6 |
# File 'lib/merb-core/core_ext/time.rb', line 3 def self.today t = Time.now t - ((t.to_f + t.gmt_offset) % 86400) end |