fakefs/classes/FakeFS/FileTest.html
2010-12-18 14:14:23 -05:00

103 lines
3.1 KiB
HTML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>FakeFS::FileTest</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
<script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
<script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div class="banner">
<h1>
<span class="type">Class</span>
FakeFS::FileTest
<span class="parent">&lt;
<a href="../Object.html">Object</a>
</span>
</h1>
<ul class="files">
<li><a href="../../files/lib/fakefs/file_test_rb.html">lib/fakefs/file_test.rb</a></li>
</ul>
</div>
<div id="bodyContent">
<div id="content">
<div class="sectiontitle">Methods</div>
<dl class="methods">
<dt>E</dt>
<dd>
<ul>
<li><a href="#M000118">exist?</a></li>
</ul>
</dd>
</dl>
<div class="sectiontitle">Class Public methods</div>
<div class="method">
<div class="title" id="M000118">
<a name="M000118"></a><b>exist?</b>(file_name)
</div>
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000118_source')" id="l_M000118_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/50193f2a753e42b1b8a66fc7adae457b6d008b8d/lib/fakefs/file_test.rb#L3" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000118_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_test.rb, line 3</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file_name</span>)
<span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file_name</span>)
<span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
</div>
</div>
</body>
</html>