Skip to content

Commit

Permalink
Rewording in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed May 14, 2024
1 parent 4e67937 commit 25607ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ This method does not parse file contents and does not guarantee files define the

The method `Zeitwerk::Loader#all_expected_cpaths` returns a hash that maps the absolute paths of the files and directories managed by the receiver to their corresponding expected constant paths.

Ignored files or directories are not included in the result. Directories that do not contain any files with the ".rb" extension (recursively) are also excluded. Additionally, if a directory contains files with the ".rb" extension but all of them are ignored, it is treated as if it contains no ".rb" files.
Ignored files, hidden files, and files whose extension is not ".rb" are not included in the result. Same for directories, hidden or ignored directories are not included in the result. Additionally, directories that contain no files with extension ".rb" (recursively) are also excluded, since those are not considered to represent Ruby namespaces.

For example, if `lib` is the root directory of a gem with the following contents:

Expand Down

0 comments on commit 25607ff

Please sign in to comment.