method

descendant_diretory?

ruby latest stable - Class: FileUtils::Entry_

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

descendant_diretory?(descendant, ascendant)
private

No documentation available.

# File lib/fileutils.rb, line 1566
    def descendant_diretory?(descendant, ascendant)
      /\A(?#{SYSCASE}:#{Regexp.quote(ascendant)})#{DIRECTORY_TERM}/ =~ File.dirname(descendant)
    end