# File lib/core/facets/filetest/contains.rb, line 6 def contains?(child, parent=Dir.pwd) parent = File.expand_path(parent) child = File.expand_path(child) child.sub(parent,'') != child end