def glob_data_paths(pattern,&block)
      return enum_for(:glob_data_paths,pattern).to_a unless block_given?

      DataPaths.paths.each do |path|
        Dir.glob(File.join(path,pattern),&block)
      end
    end
def glob_data_paths(pattern,&block)
      return enum_for(:glob_data_paths,pattern).to_a unless block_given?

      DataPaths.paths.each do |path|
        Dir.glob(File.join(path,pattern),&block)
      end
    end
Finds all paths that match a given pattern, within all data
 directories.

 @param [String] pattern
   The path glob pattern to search with.

 @yield [path]
   If a block is given, it will be passed every matching path.

 @yieldparam [String] path
   The path of a matching file within a data directory.

 @return [Array<String>]
   If no block is given, the matching paths found within all data
   directories will be returned.

 @since 0.3.0