= private = protected
is_a?(klass)
Say we’re a Time to thwart type checking.
# File activesupport/lib/active_support/time_with_zone.rb, line 283 def is_a?(klass) klass == ::Time || super end