Class: Time

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

Class Method Summary collapse

Class Method Details

.currentObject


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

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