Method: Code::Object::Date.code_today
- Defined in:
- lib/code/object/date.rb
.code_today ⇒ Object
48 49 50 51 |
# File 'lib/code/object/date.rb', line 48 def self.code_today ::Time.zone ||= Time::DEFAULT_ZONE new(::Time.zone.now.beginning_of_day) end |