class FakeFS::Pathname

def <=>(other)

Provides for comparing pathnames, case-sensitively.
def <=>(other)
  return nil unless other.is_a?(Pathname)
  @path.tr('/', "\0") <=> other.to_s.tr('/', "\0")
end