--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns clean pathname of self with consecutive slashes and useless dots removed. The filesystem is not accessed. - !ruby/struct:SM::Flow::P body: "If consider_symlink is true, then a more conservative algorithm is used to avoid breaking symbolic linkages. This may retain more .. entries than absolutely necessary, but without accessing the filesystem, this can't be avoided. See #realpath." full_name: Pathname#cleanpath is_singleton: false name: cleanpath params: (consider_symlink=false) visibility: public