class ActiveSupport::Duration

def is_a?(klass) # :nodoc:

:nodoc:
def is_a?(klass) # :nodoc:
  Duration == klass || value.is_a?(klass)
end