Module ActiveSupport::CoreExtensions::Date::Behavior
In: vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb

Methods

Public Instance methods

Enable more predictable duck-typing on Date-like classes. See Object#acts_like?.

[Source]

    # File vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb, line 9
 9:         def acts_like_date?
10:           true
11:         end

[Validate]