aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date/acts_like.rb
blob: dfea3e3f09171c173f48e8c00c6808b09cde2092 (plain) (blame)
1
2
3
4
5
6
7
8
require_relative "../object/acts_like"

class Date
  # Duck-types as a Date-like class. See Object#acts_like?.
  def acts_like_date?
    true
  end
end