Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/texp/time_ext.rb
Instance Method Summary collapse
Instance Method Details
#to_date ⇒ Object
3 4 5 |
# File 'lib/texp/time_ext.rb', line 3 def to_date Date.new(self.year, self.month, self.day) end |