Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/httpclient/httpclient.rb
Instance Method Summary collapse
Instance Method Details
#to_simple_date ⇒ Object
51 52 53 |
# File 'lib/httpclient/httpclient.rb', line 51 def to_simple_date DateTime.strptime( self, '%Y-%m-%d' ).strftime( '%B %d, %Y ') end |