class FakeFS::Pathname

def rmdir

See Dir.rmdir. Remove the referenced directory.
def rmdir
  Dir.rmdir(@path)
end