Method: DataPaths::Finders#all_data_dirs

Defined in:
lib/data_paths/finders.rb

#all_data_dirs(path) ⇒ Array<String>

Finds all occurrences of a given directory path, within all data directories.

Parameters:

  • path (String)

    The directory path to search for.

Returns:

  • (Array<String>)

    The occurrences of the given directory path within all data directories.



201
202
203
# File 'lib/data_paths/finders.rb', line 201

def all_data_dirs(path)
  each_data_dir(path).to_a
end