method
===
===(other)
public
Hide source
# File activesupport/lib/active_support/duration.rb, line 143 def ===(other) #:nodoc: other.is_a?(Duration) rescue ::NoMethodError false end