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