instance method
acts_like_date?
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
acts_like_date?()
Duck-types as a Date-like class. See Object#acts_like?.
Source
# File activesupport/lib/active_support/core_ext/date/acts_like.rb, line 5
def acts_like_date?
true
end
Defined in activesupport/lib/active_support/core_ext/date/acts_like.rb line 5
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Date