Module: ActiveSupport::CoreExtensions::Time::Behavior
Instance Method Summary collapse
-
#acts_like_time? ⇒ Boolean
Enable more predictable duck-typing on Time-like classes.
Instance Method Details
#acts_like_time? ⇒ Boolean
Enable more predictable duck-typing on Time-like classes. See Object#acts_like?.
7 8 9 |
# File 'lib/active_support/core_ext/time/behavior.rb', line 7 def acts_like_time? true end |