Class: Date
- Inherits:
-
Object
- Object
- Date
- Defined in:
- lib/date_time_extensions.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.beginning_of ⇒ Object
23 24 25 |
# File 'lib/date_time_extensions.rb', line 23 def self.beginning_of DateTime.beginning_of.to_date end |
Instance Method Details
#time? ⇒ Boolean
31 32 33 |
# File 'lib/date_time_extensions.rb', line 31 def time? false end |
#to_standard_s ⇒ Object
35 36 37 |
# File 'lib/date_time_extensions.rb', line 35 def to_standard_s strftime( "%B %d, %Y" ) end |