class Time

Declared to bypass a rubygems 1.3.2 bug :(

Public Class Methods

today() click to toggle source
# 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