Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/datify.rb
Instance Method Summary collapse
Instance Method Details
#is_time? ⇒ Boolean
4 5 6 |
# File 'lib/datify.rb', line 4 def is_time? Datify::Engine.new(self).valid? end |
#to_time ⇒ Object
8 9 10 |
# File 'lib/datify.rb', line 8 def to_time Datify::Engine.new(self).date end |