instance method
respond_to_missing?
Ruby on Rails 7.2.3
Since v4.0.13Signature
respond_to_missing?(sym, include_priv)
Ensure proxy class responds to all methods that underlying time instance responds to.
Parameters
-
symreq -
include_privreq
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 537
def respond_to_missing?(sym, include_priv)
return false if sym.to_sym == :acts_like_date?
time.respond_to?(sym, include_priv)
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 537
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone