Method: Date#readable_inspect
- Defined in:
- activesupport/lib/active_support/core_ext/date/conversions.rb
#readable_inspect ⇒ Object Also known as: inspect
Overrides the default inspect method with a human readable one, e.g., “Mon, 21 Feb 2005”
63 64 65 |
# File 'activesupport/lib/active_support/core_ext/date/conversions.rb', line 63 def readable_inspect strftime("%a, %d %b %Y") end |