Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor path normalization logic in RefinePathname module
- Extract path separator normalization logic from to_posix method to a private constant NORMALIZE_FILE_SEPARATOR. - Apply NORMALIZE_FILE_SEPARATOR in the to_posix method and eql? method for consistent path normalization. - Ensure NORMALIZE_FILE_SEPARATOR is private to the RefinePathname module to encapsulate the implementation details.
- Loading branch information