class Time

def plus_with_duration(other) # :nodoc:

Experimental RBS support (using type sampling data from the type_fusion project).

def plus_with_duration: (Integer other) -> Time

This signature was generated using 6 samples from 2 applications.

:nodoc:
def plus_with_duration(other) # :nodoc:
  if ActiveSupport::Duration === other
    other.since(self)
  else
    plus_without_duration(other)
  end
end