# File lib/core/facets/dir/parent.rb, line 11 def self.parent?(parent_path, child_path) %r|^#{Regexp.escape(parent_path)}| =~ child_path ? true : false end