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 7
7:         def acts_like_date?
8:           true
9:         end

[Validate]