class Time
Public Class Methods
parse(date, now=self.now)
click to toggle source
# File lib/dugway/extensions/time.rb, line 9 def parse(date, now=self.now) date = now.to_s if date =~ /today/i old_parse(date, now) end
Also aliased as: old_parse