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

Methods

Public Instance methods

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

[Source]

   # File vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb, line 7
7:         def acts_like_time?
8:           true
9:         end

[Validate]