instance method readable_inspect

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

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 66
        def readable_inspect
          strftime("%a, %d %b %Y")
        end

Defined in activesupport/lib/active_support/core_ext/date/conversions.rb line 66 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::CoreExtensions::Date::Conversions

Type at least 2 characters to search.

↑↓ navigate · open · esc close