lib/jamf/ruby_extensions/pathname/predicates.rb
def j_include?(other)
        eps = expand_path.to_s
        oeps = other.expand_path.to_s
        oeps != eps && oeps.start_with?(eps)
      end
# does a path include another?
# i.e. is 'other' a descendant of self ?
does a path include another.
does a path include another .
def j_include?(other)
        eps = expand_path.to_s
        oeps = other.expand_path.to_s
        oeps != eps && oeps.start_with?(eps)
      end
def j_include? ( other ) eps = expand_path . to_s oeps = other . expand_path . to_s oeps != eps && oeps . start_with? ( eps ) end
does a path include another?
does a path include another?
other