class ActiveSupport::Duration

def instance_of?(klass) # :nodoc:

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