Method: DateTime#readable_inspect
- Defined in:
- activesupport/lib/active_support/core_ext/date_time/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 14:30:00 +0000”.
56 57 58 |
# File 'activesupport/lib/active_support/core_ext/date_time/conversions.rb', line 56 def readable_inspect to_fs(:rfc822) end |