Module ActiveSupport::CoreExtensions::Time::Behavior
In: 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 activesupport/lib/active_support/core_ext/time/behavior.rb, line 7
        def acts_like_time?
          true
        end

[Validate]