class Bootsnap::LoadPathCache::Cache

def search_index(feature, try_extensions: true)

def search_index(feature, try_extensions: true)
  if try_extensions
    try_index(feature + DOT_RB) ||
      try_index(feature + DLEXT) ||
      try_index(feature + DLEXT2) ||
      try_index(feature)
  else
    try_index(feature)
  end
end