var search_data = {"index":{"searchIndex":["fakefs","dir","fakedir","fakefile","inode","fakesymlink","file","stat","filesystem","filetest","fileutils","spechelpers","version","object","fakefs()","[]()","activate!()","add()","atime()","autoclose?()","basename()","binmode?()","cd()","chdir()","chdir()","chdir()","chmod()","chown()","chown()","chown_r()","chroot()","clear()","clone()","clone()","clone()","clone()","close()","close_on_exec=()","close_on_exec?()","const_missing()","content()","content=()","cp()","cp_r()","ctime()","ctime()","current_dir()","deactivate!()","delete()","delete()","delete()","delete()","delete()","delete()","dir_levels()","directory?()","directory?()","dirname()","each()","entries()","entry()","entry()","entry()","exist?()","exist?()","exists?()","expand_path()","extended()","extname()","file?()","files()","find()","flock()","foreach()","fs()","glob()","included()","inspect()","inspect()","inspect()","ioctl()","join()","link()","link()","link()","links()","ln_s()","ln_sf()","lstat()","lstat()","mkdir()","mkdir_p()","mkpath()","mtime()","mtime()","mv()","new()","new()","new()","new()","new()","new()","new()","nlink()","normalize_path()","open()","path()","path_parts()","pos()","pos=()","pwd()","read()","read()","read_nonblock()","readlines()","readlink()","readpartial()","respond_to?()","rewind()","rm()","rm_f()","rm_r()","rm_rf()","rmdir()","seek()","size()","size()","size()","size?()","stat()","stat()","symlink()","symlink?()","symlink?()","sysseek()","tmpdir()","to_io()","to_path()","to_s()","to_s()","to_s()","touch()","unlink()","use_fakefs()","write_nonblock()","contributors","license","readme.markdown","fakefs.rb","base.rb","dir.rb","dir.rb","file.rb","symlink.rb","file.rb","file_system.rb","file_test.rb","fileutils.rb","safe.rb","spec_helpers.rb","version.rb"],"info":[["FakeFS","lib/fakefs/base.rb","classes/FakeFS.html"," < ","",1],["Dir","FakeFS","classes/FakeFS/Dir.html"," < Object","",1],["FakeDir","FakeFS","classes/FakeFS/FakeDir.html"," < Hash","",1],["FakeFile","FakeFS","classes/FakeFS/FakeFile.html"," < Object","",1],["Inode","FakeFS::FakeFile","classes/FakeFS/FakeFile/Inode.html"," < Object","",1],["FakeSymlink","FakeFS","classes/FakeFS/FakeSymlink.html"," < Object","",1],["File","FakeFS","classes/FakeFS/File.html"," < StringIO","",1],["Stat","FakeFS::File","classes/FakeFS/File/Stat.html"," < Object","",1],["FileSystem","FakeFS","classes/FakeFS/FileSystem.html"," < ","",1],["FileTest","FakeFS","classes/FakeFS/FileTest.html"," < Object","",1],["FileUtils","FakeFS","classes/FakeFS/FileUtils.html"," < ","",1],["SpecHelpers","FakeFS","classes/FakeFS/SpecHelpers.html"," < ","",1],["Version","FakeFS","classes/FakeFS/Version.html"," < ","",1],["Object","lib/fakefs/base.rb","classes/Object.html"," < Object","",1],["FakeFS","Object","classes/Object.html#M000004","()","",2],["[]","FakeFS::Dir","classes/FakeFS/Dir.html#M000012","(pattern)","",2],["activate!","FakeFS","classes/FakeFS.html#M000000","()","",2],["add","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000063","(path, object=FakeDir.new)","",2],["atime","FakeFS::File","classes/FakeFS/File.html#M000100","()","",2],["autoclose?","FakeFS::File","classes/FakeFS/File.html#M000110","()","",2],["basename","FakeFS::File","classes/FakeFS/File.html#M000068","(*args)","",2],["binmode?","FakeFS::File","classes/FakeFS/File.html#M000106","()","",2],["cd","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000137","(dir)","",2],["chdir","FakeFS::Dir","classes/FakeFS/Dir.html#M000013","(dir, &blk)","",2],["chdir","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000073","(dir, &blk)","",2],["chdir","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000138","(dir)","Alias for #cd",2],["chmod","FakeFS::File","classes/FakeFS/File.html#M000101","(mode_int)","",2],["chown","FakeFS::File","classes/FakeFS/File.html#M000102","(owner_int, group_int)","",2],["chown","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000134","(user, group, list, options={})","",2],["chown_R","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000135","(user, group, list, options={})","",2],["chroot","FakeFS::Dir","classes/FakeFS/Dir.html#M000014","(string)","",2],["clear","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000056","()","",2],["clone","FakeFS::FakeDir","classes/FakeFS/FakeDir.html#M000026","(parent = nil)","",2],["clone","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000038","(parent = nil)","",2],["clone","FakeFS::FakeFile::Inode","classes/FakeFS/FakeFile/Inode.html#M000032","()","",2],["clone","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000064","(path)","copies directories and files from the real filesystem into our fake one ",2],["close","FakeFS::Dir","classes/FakeFS/Dir.html#M000003","()","",2],["close_on_exec=","FakeFS::File","classes/FakeFS/File.html#M000107","(bool)","",2],["close_on_exec?","FakeFS::File","classes/FakeFS/File.html#M000108","()","",2],["const_missing","FakeFS::File","classes/FakeFS/File.html#M000061","(name)","",2],["content","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000034","()","",2],["content=","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000035","(str)","",2],["cp","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000128","(src, dest)","",2],["cp_r","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000129","(src, dest)","",2],["ctime","FakeFS::File","classes/FakeFS/File.html#M000103","()","",2],["ctime","FakeFS::File","classes/FakeFS/File.html#M000053","(path)","",2],["current_dir","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000078","()","",2],["deactivate!","FakeFS","classes/FakeFS.html#M000001","()","",2],["delete","FakeFS::Dir","classes/FakeFS/Dir.html#M000015","(string)","",2],["delete","FakeFS::FakeDir","classes/FakeFS/FakeDir.html#M000028","(node = self)","",2],["delete","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000042","()","",2],["delete","FakeFS::FakeSymlink","classes/FakeFS/FakeSymlink.html#M000046","()","",2],["delete","FakeFS::File","classes/FakeFS/File.html#M000080","(file_name, *additional_file_names)","",2],["delete","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000072","(path)","",2],["dir_levels","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000054","()","",2],["directory?","FakeFS::File","classes/FakeFS/File.html#M000062","(path)","",2],["directory?","FakeFS::File::Stat","classes/FakeFS/File/Stat.html#M000086","()","",2],["dirname","FakeFS::File","classes/FakeFS/File.html#M000069","(path)","",2],["each","FakeFS::Dir","classes/FakeFS/Dir.html#M000005","(&block)","",2],["entries","FakeFS::Dir","classes/FakeFS/Dir.html#M000016","(dirname)","",2],["entry","FakeFS::FakeDir","classes/FakeFS/FakeDir.html#M000024","()","",2],["entry","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000039","()","",2],["entry","FakeFS::FakeSymlink","classes/FakeFS/FakeSymlink.html#M000045","()","",2],["exist?","FakeFS::File","classes/FakeFS/File.html#M000051","(path)","",2],["exist?","FakeFS::FileTest","classes/FakeFS/FileTest.html#M000118","(file_name)","",2],["exists?","FakeFS::File","classes/FakeFS/File.html#M000091","()","",2],["expand_path","FakeFS::File","classes/FakeFS/File.html#M000067","(*args)","",2],["extended","FakeFS::SpecHelpers","classes/FakeFS/SpecHelpers.html#M000130","(example_group)","",2],["extname","FakeFS::File","classes/FakeFS/File.html#M000049","(path)","",2],["file?","FakeFS::File","classes/FakeFS/File.html#M000066","(path)","",2],["files","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000057","()","",2],["find","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000058","(path)","",2],["flock","FakeFS::File","classes/FakeFS/File.html#M000104","(locking_constant)","",2],["foreach","FakeFS::Dir","classes/FakeFS/Dir.html#M000017","(dirname, &block)","",2],["fs","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000055","()","",2],["glob","FakeFS::Dir","classes/FakeFS/Dir.html#M000018","(pattern)","",2],["included","FakeFS::SpecHelpers","classes/FakeFS/SpecHelpers.html#M000131","(example_group)","",2],["inspect","FakeFS::FakeDir","classes/FakeFS/FakeDir.html#M000025","()","",2],["inspect","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000040","()","",2],["inspect","FakeFS::FakeSymlink","classes/FakeFS/FakeSymlink.html#M000044","()","",2],["ioctl","FakeFS::File","classes/FakeFS/File.html#M000092","(integer_cmd, arg)","",2],["join","FakeFS::File","classes/FakeFS/File.html#M000050","(*parts)","",2],["link","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000037","(other_file)","",2],["link","FakeFS::FakeFile::Inode","classes/FakeFS/FakeFile/Inode.html#M000030","(file)","",2],["link","FakeFS::File","classes/FakeFS/File.html#M000076","(source, dest)","",2],["links","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000036","()","",2],["ln_s","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000126","(target, path, options = {})","",2],["ln_sf","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000127","(target, path)","",2],["lstat","FakeFS::File","classes/FakeFS/File.html#M000083","(file)","",2],["lstat","FakeFS::File","classes/FakeFS/File.html#M000095","()","",2],["mkdir","FakeFS::Dir","classes/FakeFS/Dir.html#M000019","(string, integer = 0)","",2],["mkdir_p","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000119","(path, options = {})","",2],["mkpath","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000120","(path, options = {})","Alias for #mkdir_p",2],["mtime","FakeFS::File","classes/FakeFS/File.html#M000105","()","",2],["mtime","FakeFS::File","classes/FakeFS/File.html#M000052","(path)","",2],["mv","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000133","(src, dest, options={})","",2],["new","FakeFS::Dir","classes/FakeFS/Dir.html#M000002","(string)","",2],["new","FakeFS::FakeDir","classes/FakeFS/FakeDir.html#M000023","(name = nil, parent = nil)","",2],["new","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000033","(name = nil, parent = nil)","",2],["new","FakeFS::FakeFile::Inode","classes/FakeFS/FakeFile/Inode.html#M000029","(file_owner)","",2],["new","FakeFS::FakeSymlink","classes/FakeFS/FakeSymlink.html#M000043","(target)","",2],["new","FakeFS::File","classes/FakeFS/File.html#M000090","(path, mode = READ_ONLY, perm = nil)","",2],["new","FakeFS::File::Stat","classes/FakeFS/File/Stat.html#M000084","(file, __lstat = false)","",2],["nlink","FakeFS::File::Stat","classes/FakeFS/File/Stat.html#M000087","()","",2],["normalize_path","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000077","(path)","",2],["open","FakeFS::Dir","classes/FakeFS/Dir.html#M000020","(string, &block)","",2],["path","FakeFS::Dir","classes/FakeFS/Dir.html#M000006","()","",2],["path_parts","FakeFS::FileSystem","classes/FakeFS/FileSystem.html#M000074","(path)","",2],["pos","FakeFS::Dir","classes/FakeFS/Dir.html#M000007","()","",2],["pos=","FakeFS::Dir","classes/FakeFS/Dir.html#M000008","(integer)","",2],["pwd","FakeFS::Dir","classes/FakeFS/Dir.html#M000022","()","",2],["read","FakeFS::Dir","classes/FakeFS/Dir.html#M000009","()","",2],["read","FakeFS::File","classes/FakeFS/File.html#M000071","(path)","",2],["read_nonblock","FakeFS::File","classes/FakeFS/File.html#M000093","(maxlen, outbuf = nil)","",2],["readlines","FakeFS::File","classes/FakeFS/File.html#M000075","(path)","",2],["readlink","FakeFS::File","classes/FakeFS/File.html#M000070","(path)","",2],["readpartial","FakeFS::File","classes/FakeFS/File.html#M000099","(maxlen, outbuf = nil)","",2],["respond_to?","FakeFS::FakeSymlink","classes/FakeFS/FakeSymlink.html#M000047","(method)","",2],["rewind","FakeFS::Dir","classes/FakeFS/Dir.html#M000010","()","",2],["rm","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000122","(list, options = {})","",2],["rm_f","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000125","(list, options = {})","Alias for #rm",2],["rm_r","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000124","(list, options = {})","Alias for #rm",2],["rm_rf","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000123","(list, options = {})","Alias for #rm",2],["rmdir","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000121","(list, options = {})","",2],["seek","FakeFS::Dir","classes/FakeFS/Dir.html#M000011","(integer)","",2],["size","FakeFS::File","classes/FakeFS/File.html#M000111","()","",2],["size","FakeFS::File","classes/FakeFS/File.html#M000059","(path)","",2],["size","FakeFS::File::Stat","classes/FakeFS/File/Stat.html#M000089","()","",2],["size?","FakeFS::File","classes/FakeFS/File.html#M000060","(path)","",2],["stat","FakeFS::File","classes/FakeFS/File.html#M000082","(file)","",2],["stat","FakeFS::File","classes/FakeFS/File.html#M000094","()","",2],["symlink","FakeFS::File","classes/FakeFS/File.html#M000081","(source, dest)","",2],["symlink?","FakeFS::File","classes/FakeFS/File.html#M000065","(path)","",2],["symlink?","FakeFS::File::Stat","classes/FakeFS/File/Stat.html#M000085","()","",2],["sysseek","FakeFS::File","classes/FakeFS/File.html#M000096","(position, whence = SEEK_SET)","",2],["tmpdir","FakeFS::Dir","classes/FakeFS/Dir.html#M000021","()","",2],["to_io","FakeFS::File","classes/FakeFS/File.html#M000097","()","",2],["to_path","FakeFS::File","classes/FakeFS/File.html#M000109","()","",2],["to_s","FakeFS::FakeDir","classes/FakeFS/FakeDir.html#M000027","()","",2],["to_s","FakeFS::FakeFile","classes/FakeFS/FakeFile.html#M000041","()","",2],["to_s","FakeFS::Version","classes/FakeFS/Version.html#M000139","()","",2],["touch","FakeFS::FileUtils","classes/FakeFS/FileUtils.html#M000136","(list, options={})","",2],["unlink","FakeFS::FakeFile::Inode","classes/FakeFS/FakeFile/Inode.html#M000031","(file)","",2],["use_fakefs","FakeFS::SpecHelpers","classes/FakeFS/SpecHelpers.html#M000132","(describe_block)","",2],["write_nonblock","FakeFS::File","classes/FakeFS/File.html#M000098","(string)","",2],["CONTRIBUTORS","files/CONTRIBUTORS.html","files/CONTRIBUTORS.html","","* Chris Wanstrath * Scott Taylor * Jeff Hodges * Pat Nakajima * Myles Eftos * Matt Freels * Nick Quaranto",3],["LICENSE","files/LICENSE.html","files/LICENSE.html","","Copyright (c) 2009 Chris Wanstrath Permission is hereby granted, free of charge, to any person obtaining",3],["README.markdown","files/README_markdown.html","files/README_markdown.html","","FakeFS ====== Mocha is great. But when your library is all about manipulating the filesystem, you really",3],["fakefs.rb","files/lib/fakefs_rb.html","files/lib/fakefs_rb.html","","",3],["base.rb","files/lib/fakefs/base_rb.html","files/lib/fakefs/base_rb.html","","",3],["dir.rb","files/lib/fakefs/dir_rb.html","files/lib/fakefs/dir_rb.html","","",3],["dir.rb","files/lib/fakefs/fake/dir_rb.html","files/lib/fakefs/fake/dir_rb.html","","",3],["file.rb","files/lib/fakefs/fake/file_rb.html","files/lib/fakefs/fake/file_rb.html","","",3],["symlink.rb","files/lib/fakefs/fake/symlink_rb.html","files/lib/fakefs/fake/symlink_rb.html","","",3],["file.rb","files/lib/fakefs/file_rb.html","files/lib/fakefs/file_rb.html","","",3],["file_system.rb","files/lib/fakefs/file_system_rb.html","files/lib/fakefs/file_system_rb.html","","",3],["file_test.rb","files/lib/fakefs/file_test_rb.html","files/lib/fakefs/file_test_rb.html","","",3],["fileutils.rb","files/lib/fakefs/fileutils_rb.html","files/lib/fakefs/fileutils_rb.html","","",3],["safe.rb","files/lib/fakefs/safe_rb.html","files/lib/fakefs/safe_rb.html","","",3],["spec_helpers.rb","files/lib/fakefs/spec_helpers_rb.html","files/lib/fakefs/spec_helpers_rb.html","","FakeFS::SpecHelpers provides a simple macro for RSpec example groups to turn FakeFS on and off. To use",3],["version.rb","files/lib/fakefs/version_rb.html","files/lib/fakefs/version_rb.html","","",3]],"longSearchIndex":["lib/fakefs/version.rb","fakefs","fakefs","fakefs","fakefs::fakefile","fakefs","fakefs","fakefs::file","fakefs","fakefs","fakefs","fakefs","fakefs","lib/fakefs/base.rb","object","fakefs::dir","fakefs","fakefs::filesystem","fakefs::file","fakefs::file","fakefs::file","fakefs::file","fakefs::fileutils","fakefs::dir","fakefs::filesystem","fakefs::fileutils","fakefs::file","fakefs::file","fakefs::fileutils","fakefs::fileutils","fakefs::dir","fakefs::filesystem","fakefs::fakedir","fakefs::fakefile","fakefs::fakefile::inode","fakefs::filesystem","fakefs::dir","fakefs::file","fakefs::file","fakefs::file","fakefs::fakefile","fakefs::fakefile","fakefs::fileutils","fakefs::fileutils","fakefs::file","fakefs::file","fakefs::filesystem","fakefs","fakefs::dir","fakefs::fakedir","fakefs::fakefile","fakefs::fakesymlink","fakefs::file","fakefs::filesystem","fakefs::filesystem","fakefs::file","fakefs::file::stat","fakefs::file","fakefs::dir","fakefs::dir","fakefs::fakedir","fakefs::fakefile","fakefs::fakesymlink","fakefs::file","fakefs::filetest","fakefs::file","fakefs::file","fakefs::spechelpers","fakefs::file","fakefs::file","fakefs::filesystem","fakefs::filesystem","fakefs::file","fakefs::dir","fakefs::filesystem","fakefs::dir","fakefs::spechelpers","fakefs::fakedir","fakefs::fakefile","fakefs::fakesymlink","fakefs::file","fakefs::file","fakefs::fakefile","fakefs::fakefile::inode","fakefs::file","fakefs::fakefile","fakefs::fileutils","fakefs::fileutils","fakefs::file","fakefs::file","fakefs::dir","fakefs::fileutils","fakefs::fileutils","fakefs::file","fakefs::file","fakefs::fileutils","fakefs::dir","fakefs::fakedir","fakefs::fakefile","fakefs::fakefile::inode","fakefs::fakesymlink","fakefs::file","fakefs::file::stat","fakefs::file::stat","fakefs::filesystem","fakefs::dir","fakefs::dir","fakefs::filesystem","fakefs::dir","fakefs::dir","fakefs::dir","fakefs::dir","fakefs::file","fakefs::file","fakefs::file","fakefs::file","fakefs::file","fakefs::fakesymlink","fakefs::dir","fakefs::fileutils","fakefs::fileutils","fakefs::fileutils","fakefs::fileutils","fakefs::fileutils","fakefs::dir","fakefs::file","fakefs::file","fakefs::file::stat","fakefs::file","fakefs::file","fakefs::file","fakefs::file","fakefs::file","fakefs::file::stat","fakefs::file","fakefs::dir","fakefs::file","fakefs::file","fakefs::fakedir","fakefs::fakefile","fakefs::version","fakefs::fileutils","fakefs::fakefile::inode","fakefs::spechelpers","fakefs::file","files/contributors.html","files/license.html","files/readme_markdown.html","files/lib/fakefs_rb.html","files/lib/fakefs/base_rb.html","files/lib/fakefs/dir_rb.html","files/lib/fakefs/fake/dir_rb.html","files/lib/fakefs/fake/file_rb.html","files/lib/fakefs/fake/symlink_rb.html","files/lib/fakefs/file_rb.html","files/lib/fakefs/file_system_rb.html","files/lib/fakefs/file_test_rb.html","files/lib/fakefs/fileutils_rb.html","files/lib/fakefs/safe_rb.html","files/lib/fakefs/spec_helpers_rb.html","files/lib/fakefs/version_rb.html"]}}