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