method
descendant_directory?
descendant_directory?(descendant, ascendant)
private
Hide source
# File lib/fileutils.rb, line 1450 def descendant_directory?(descendant, ascendant) /\A(?#{SYSCASE}:#{Regexp.quote(ascendant)})#{DIRECTORY_TERM}/ =~ File.dirname(descendant) end