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