Method: String#to_date
- Defined in:
- lib/cotcube-helpers/swig/date.rb
#to_date ⇒ Object
28 29 30 |
# File 'lib/cotcube-helpers/swig/date.rb', line 28 def to_date Date::strptime(self, "%Y-%m-%d") end |
28 29 30 |
# File 'lib/cotcube-helpers/swig/date.rb', line 28 def to_date Date::strptime(self, "%Y-%m-%d") end |