instance method
readable_inspect
Ruby on Rails 3.1.12
Since v3.0.20Signature
readable_inspect()
Overrides the default inspect method with a human readable one, e.g., “Mon, 21 Feb 2005”
Source
# File activesupport/lib/active_support/core_ext/date/conversions.rb, line 60
def readable_inspect
strftime("%a, %d %b %Y")
end
Defined in activesupport/lib/active_support/core_ext/date/conversions.rb line 60
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Date