Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/motion_model/date_parser.rb
Instance Method Summary collapse
Instance Method Details
#to_date ⇒ Object
etc.
55 56 57 |
# File 'lib/motion_model/date_parser.rb', line 55 def to_date DateParser.parse_date(self) end |
#to_duration ⇒ Object
63 64 65 |
# File 'lib/motion_model/date_parser.rb', line 63 def to_duration DateParser.parse_duration(self) end |
#to_timezone ⇒ Object
59 60 61 |
# File 'lib/motion_model/date_parser.rb', line 59 def to_timezone DateParser.parse_time_zone(self) end |