Class: DateTime

Inherits:
Object
  • Object
show all
Defined in:
lib/devise/orm/data_mapper/date_time.rb

Overview

Add DateTime#gmtime method if needed.

Instance Method Summary collapse

Instance Method Details

#gmtimeObject



4
5
6
# File 'lib/devise/orm/data_mapper/date_time.rb', line 4

def gmtime
  self.new_offset(0)
end