method
is_a?
is_a?(klass)
public
Hide source
# File activesupport/lib/active_support/duration.rb, line 38 def is_a?(klass) #:nodoc: Duration == klass || value.is_a?(klass) end