Class: Date

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

Class Method Summary collapse

Class Method Details

.currentObject


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

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