instance method
readable_inspect
Ruby on Rails 5.2.8.1
Since v3.0.20Signature
readable_inspect()
Overrides the default inspect method with a human readable one, e.g., “Mon, 21 Feb 2005 14:30:00 +0000”.
Source
# File activesupport/lib/active_support/core_ext/date_time/conversions.rb, line 56
def readable_inspect
to_s(:rfc822)
end
Defined in activesupport/lib/active_support/core_ext/date_time/conversions.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in DateTime