Class: Date

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

Class Method Summary collapse

Class Method Details

.currentObject



12
13
14
# File 'lib/brcobranca/util/date.rb', line 12

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