Class: Date

Inherits:
Object
  • Object
show all
Includes:
Redistat::DateHelper
Defined in:
lib/redistat/core_ext/date.rb

Instance Method Summary collapse

Methods included from Redistat::DateHelper

#to_redistat

Instance Method Details

#to_timeObject



4
5
6
# File 'lib/redistat/core_ext/date.rb', line 4

def to_time
  Time.parse(self.to_s)
end