class URI::Source

def set_path(v) # rubocop:disable Naming/AccessorMethodName

rubocop:disable Naming/AccessorMethodName
: (String? v) -> void
def set_path(v) # rubocop:disable Naming/AccessorMethodName
  return if v.nil?
  gem_version, path = v.delete_prefix("/").split("/", 2)
  @gem_version = gem_version #: String?
  @path = path #: String?
end