Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/brcobranca/util/date.rb
Class Method Summary collapse
Class Method Details
.current ⇒ Object
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 |