Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/brcobranca/util/date.rb

Class Method Summary collapse

Class Method Details

.currentObject



18
19
20
# File 'lib/brcobranca/util/date.rb', line 18

def self.current
  Time.respond_to?(:zone) && Time.zone ? Time.zone.now : Time.now
end