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