update docs

This commit is contained in:
Scott Taylor 2010-12-18 14:28:01 -05:00
parent c1db0b6960
commit d4c1e13db1
21 changed files with 179 additions and 179 deletions

View File

@ -79,9 +79,9 @@
<li><a href="#M000108">close_on_exec?</a>,</li>
<li><a href="#M000062">const_missing</a>,</li>
<li><a href="#M000061">const_missing</a>,</li>
<li><a href="#M000058">ctime</a>,</li>
<li><a href="#M000053">ctime</a>,</li>
<li><a href="#M000103">ctime</a></li>
@ -94,7 +94,7 @@
<li><a href="#M000080">delete</a>,</li>
<li><a href="#M000063">directory?</a>,</li>
<li><a href="#M000062">directory?</a>,</li>
<li><a href="#M000069">dirname</a></li>
@ -149,11 +149,11 @@
<dd>
<ul>
<li><a href="#M000077">link</a>,</li>
<li><a href="#M000076">link</a>,</li>
<li><a href="#M000095">lstat</a>,</li>
<li><a href="#M000084">lstat</a></li>
<li><a href="#M000083">lstat</a></li>
</ul>
</dd>
@ -162,7 +162,7 @@
<dd>
<ul>
<li><a href="#M000057">mtime</a>,</li>
<li><a href="#M000052">mtime</a>,</li>
<li><a href="#M000105">mtime</a></li>
@ -182,13 +182,13 @@
<dd>
<ul>
<li><a href="#M000075">read</a>,</li>
<li><a href="#M000071">read</a>,</li>
<li><a href="#M000093">read_nonblock</a>,</li>
<li><a href="#M000076">readlines</a>,</li>
<li><a href="#M000075">readlines</a>,</li>
<li><a href="#M000074">readlink</a>,</li>
<li><a href="#M000070">readlink</a>,</li>
<li><a href="#M000099">readpartial</a></li>
@ -203,15 +203,15 @@
<li><a href="#M000111">size</a>,</li>
<li><a href="#M000061">size?</a>,</li>
<li><a href="#M000060">size?</a>,</li>
<li><a href="#M000083">stat</a>,</li>
<li><a href="#M000082">stat</a>,</li>
<li><a href="#M000094">stat</a>,</li>
<li><a href="#M000082">symlink</a>,</li>
<li><a href="#M000081">symlink</a>,</li>
<li><a href="#M000064">symlink?</a>,</li>
<li><a href="#M000065">symlink?</a>,</li>
<li><a href="#M000096">sysseek</a></li>
@ -342,9 +342,9 @@
</div>
<div class="method">
<div class="title" id="M000062">
<div class="title" id="M000061">
<a name="M000062"></a><b>const_missing</b>(name)
<a name="M000061"></a><b>const_missing</b>(name)
</div>
@ -353,12 +353,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
Source: <a href="javascript:toggleSource('M000061_source')" id="l_M000061_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L79" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000062_source" class="dyn-source">
<div id="M000061_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 79</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">const_missing</span>(<span class="ruby-identifier">name</span>)
<span class="ruby-constant">RealFile</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">name</span>)
@ -369,9 +369,9 @@
</div>
<div class="method">
<div class="title" id="M000058">
<div class="title" id="M000053">
<a name="M000058"></a><b>ctime</b>(path)
<a name="M000053"></a><b>ctime</b>(path)
</div>
@ -380,12 +380,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show</a>
Source: <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L59" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000058_source" class="dyn-source">
<div id="M000053_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 59</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">ctime</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">path</span>)
@ -437,9 +437,9 @@
</div>
<div class="method">
<div class="title" id="M000063">
<div class="title" id="M000062">
<a name="M000063"></a><b>directory?</b>(path)
<a name="M000062"></a><b>directory?</b>(path)
</div>
@ -448,12 +448,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show</a>
Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L83" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000063_source" class="dyn-source">
<div id="M000062_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 83</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">path</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:entry</span>
@ -636,9 +636,9 @@
</div>
<div class="method">
<div class="title" id="M000077">
<div class="title" id="M000076">
<a name="M000077"></a><b>link</b>(source, dest)
<a name="M000076"></a><b>link</b>(source, dest)
</div>
@ -647,12 +647,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show</a>
Source: <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L139" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000077_source" class="dyn-source">
<div id="M000076_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 139</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">link</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">dest</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">source</span>)
@ -679,9 +679,9 @@
</div>
<div class="method">
<div class="title" id="M000084">
<div class="title" id="M000083">
<a name="M000084"></a><b>lstat</b>(file)
<a name="M000083"></a><b>lstat</b>(file)
</div>
@ -690,12 +690,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show</a>
Source: <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L185" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000084_source" class="dyn-source">
<div id="M000083_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 185</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lstat</span>(<span class="ruby-identifier">file</span>)
<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">Stat</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file</span>, <span class="ruby-keyword kw">true</span>)
@ -706,9 +706,9 @@
</div>
<div class="method">
<div class="title" id="M000057">
<div class="title" id="M000052">
<a name="M000057"></a><b>mtime</b>(path)
<a name="M000052"></a><b>mtime</b>(path)
</div>
@ -717,12 +717,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show</a>
Source: <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L51" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000057_source" class="dyn-source">
<div id="M000052_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 51</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">mtime</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">path</span>)
@ -773,9 +773,9 @@
</div>
<div class="method">
<div class="title" id="M000075">
<div class="title" id="M000071">
<a name="M000075"></a><b>read</b>(path)
<a name="M000071"></a><b>read</b>(path)
</div>
@ -784,12 +784,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show</a>
Source: <a href="javascript:toggleSource('M000071_source')" id="l_M000071_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L126" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000075_source" class="dyn-source">
<div id="M000071_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 126</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-identifier">file</span> = <span class="ruby-identifier">new</span>(<span class="ruby-identifier">path</span>)
@ -805,9 +805,9 @@
</div>
<div class="method">
<div class="title" id="M000076">
<div class="title" id="M000075">
<a name="M000076"></a><b>readlines</b>(path)
<a name="M000075"></a><b>readlines</b>(path)
</div>
@ -816,12 +816,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show</a>
Source: <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L135" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000076_source" class="dyn-source">
<div id="M000075_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 135</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">readlines</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-identifier">read</span>(<span class="ruby-identifier">path</span>).<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;\n&quot;</span>)
@ -832,9 +832,9 @@
</div>
<div class="method">
<div class="title" id="M000074">
<div class="title" id="M000070">
<a name="M000074"></a><b>readlink</b>(path)
<a name="M000070"></a><b>readlink</b>(path)
</div>
@ -843,12 +843,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show</a>
Source: <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L121" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000074_source" class="dyn-source">
<div id="M000070_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 121</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">readlink</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-identifier">symlink</span> = <span class="ruby-constant">FileSystem</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">path</span>)
@ -887,9 +887,9 @@
</div>
<div class="method">
<div class="title" id="M000061">
<div class="title" id="M000060">
<a name="M000061"></a><b>size?</b>(path)
<a name="M000060"></a><b>size?</b>(path)
</div>
@ -898,12 +898,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000061_source')" id="l_M000061_source">show</a>
Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L71" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000061_source" class="dyn-source">
<div id="M000060_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 71</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">size?</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">path</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">size</span>(<span class="ruby-identifier">path</span>).<span class="ruby-identifier">zero?</span>
@ -917,37 +917,10 @@
</div>
<div class="method">
<div class="title" id="M000083">
<a name="M000083"></a><b>stat</b>(file)
</div>
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L181" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000083_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 181</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">stat</span>(<span class="ruby-identifier">file</span>)
<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">Stat</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file</span>)
<span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
<div class="title" id="M000082">
<a name="M000082"></a><b>symlink</b>(source, dest)
<a name="M000082"></a><b>stat</b>(file)
</div>
@ -958,10 +931,37 @@
<p class="source-link">
Source: <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L177" target="_blank" class="github_url">on GitHub</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L181" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000082_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 181</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">stat</span>(<span class="ruby-identifier">file</span>)
<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">Stat</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file</span>)
<span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
<div class="title" id="M000081">
<a name="M000081"></a><b>symlink</b>(source, dest)
</div>
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000081_source')" id="l_M000081_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L177" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000081_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 177</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">symlink</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">dest</span>)
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">ln_s</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">dest</span>)
@ -972,9 +972,9 @@
</div>
<div class="method">
<div class="title" id="M000064">
<div class="title" id="M000065">
<a name="M000064"></a><b>symlink?</b>(path)
<a name="M000065"></a><b>symlink?</b>(path)
</div>
@ -983,12 +983,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show</a>
Source: <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L92" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000064_source" class="dyn-source">
<div id="M000065_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 92</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">symlink?</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">path</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:entry</span>

View File

@ -49,7 +49,7 @@
<dd>
<ul>
<li><a href="#M000087">directory?</a></li>
<li><a href="#M000086">directory?</a></li>
</ul>
</dd>
@ -58,9 +58,9 @@
<dd>
<ul>
<li><a href="#M000085">new</a>,</li>
<li><a href="#M000084">new</a>,</li>
<li><a href="#M000088">nlink</a></li>
<li><a href="#M000087">nlink</a></li>
</ul>
</dd>
@ -71,7 +71,7 @@
<li><a href="#M000089">size</a>,</li>
<li><a href="#M000086">symlink?</a></li>
<li><a href="#M000085">symlink?</a></li>
</ul>
</dd>
@ -114,9 +114,9 @@
<div class="sectiontitle">Class Public methods</div>
<div class="method">
<div class="title" id="M000085">
<div class="title" id="M000084">
<a name="M000085"></a><b>new</b>(file, __lstat = false)
<a name="M000084"></a><b>new</b>(file, __lstat = false)
</div>
@ -125,12 +125,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">show</a>
Source: <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L192" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000085_source" class="dyn-source">
<div id="M000084_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 192</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">file</span>, <span class="ruby-identifier">__lstat</span> = <span class="ruby-keyword kw">false</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">file</span>)
@ -151,9 +151,9 @@
<div class="sectiontitle">Instance Public methods</div>
<div class="method">
<div class="title" id="M000087">
<div class="title" id="M000086">
<a name="M000087"></a><b>directory?</b>()
<a name="M000086"></a><b>directory?</b>()
</div>
@ -162,12 +162,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show</a>
Source: <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L208" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000087_source" class="dyn-source">
<div id="M000086_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 208</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">directory?</span>
<span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-ivar">@file</span>)
@ -178,9 +178,9 @@
</div>
<div class="method">
<div class="title" id="M000088">
<div class="title" id="M000087">
<a name="M000088"></a><b>nlink</b>()
<a name="M000087"></a><b>nlink</b>()
</div>
@ -189,12 +189,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show</a>
Source: <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L212" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000088_source" class="dyn-source">
<div id="M000087_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 212</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">nlink</span>
<span class="ruby-ivar">@fake_file</span>.<span class="ruby-identifier">links</span>.<span class="ruby-identifier">size</span>
@ -236,9 +236,9 @@
</div>
<div class="method">
<div class="title" id="M000086">
<div class="title" id="M000085">
<a name="M000086"></a><b>symlink?</b>()
<a name="M000085"></a><b>symlink?</b>()
</div>
@ -247,12 +247,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show</a>
Source: <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L204" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000086_source" class="dyn-source">
<div id="M000085_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 204</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">symlink?</span>
<span class="ruby-constant">File</span>.<span class="ruby-identifier">symlink?</span>(<span class="ruby-ivar">@file</span>)

View File

@ -43,7 +43,7 @@
<dd>
<ul>
<li><a href="#M000060">add</a></li>
<li><a href="#M000063">add</a></li>
</ul>
</dd>
@ -52,11 +52,11 @@
<dd>
<ul>
<li><a href="#M000071">chdir</a>,</li>
<li><a href="#M000073">chdir</a>,</li>
<li><a href="#M000054">clear</a>,</li>
<li><a href="#M000056">clear</a>,</li>
<li><a href="#M000065">clone</a>,</li>
<li><a href="#M000064">clone</a>,</li>
<li><a href="#M000078">current_dir</a></li>
@ -67,9 +67,9 @@
<dd>
<ul>
<li><a href="#M000070">delete</a>,</li>
<li><a href="#M000072">delete</a>,</li>
<li><a href="#M000052">dir_levels</a></li>
<li><a href="#M000054">dir_levels</a></li>
</ul>
</dd>
@ -78,11 +78,11 @@
<dd>
<ul>
<li><a href="#M000055">files</a>,</li>
<li><a href="#M000057">files</a>,</li>
<li><a href="#M000056">find</a>,</li>
<li><a href="#M000058">find</a>,</li>
<li><a href="#M000053">fs</a></li>
<li><a href="#M000055">fs</a></li>
</ul>
</dd>
@ -91,7 +91,7 @@
<dd>
<ul>
<li><a href="#M000073">normalize_path</a></li>
<li><a href="#M000077">normalize_path</a></li>
</ul>
</dd>
@ -100,7 +100,7 @@
<dd>
<ul>
<li><a href="#M000072">path_parts</a></li>
<li><a href="#M000074">path_parts</a></li>
</ul>
</dd>
@ -122,9 +122,9 @@
<div class="sectiontitle">Instance Public methods</div>
<div class="method">
<div class="title" id="M000060">
<div class="title" id="M000063">
<a name="M000060"></a><b>add</b>(path, object=FakeDir.new)
<a name="M000063"></a><b>add</b>(path, object=FakeDir.new)
</div>
@ -133,12 +133,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show</a>
Source: <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L35" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000060_source" class="dyn-source">
<div id="M000063_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 35</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">object</span>=<span class="ruby-constant">FakeDir</span>.<span class="ruby-identifier">new</span>)
<span class="ruby-identifier">parts</span> = <span class="ruby-identifier">path_parts</span>(<span class="ruby-identifier">normalize_path</span>(<span class="ruby-identifier">path</span>))
@ -157,9 +157,9 @@
</div>
<div class="method">
<div class="title" id="M000071">
<div class="title" id="M000073">
<a name="M000071"></a><b>chdir</b>(dir, &amp;blk)
<a name="M000073"></a><b>chdir</b>(dir, &amp;blk)
</div>
@ -168,12 +168,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000071_source')" id="l_M000071_source">show</a>
Source: <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L74" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000071_source" class="dyn-source">
<div id="M000073_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 74</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">blk</span>)
<span class="ruby-identifier">new_dir</span> = <span class="ruby-identifier">find</span>(<span class="ruby-identifier">dir</span>)
@ -192,9 +192,9 @@
</div>
<div class="method">
<div class="title" id="M000054">
<div class="title" id="M000056">
<a name="M000054"></a><b>clear</b>()
<a name="M000056"></a><b>clear</b>()
</div>
@ -203,12 +203,12 @@
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
Source: <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L13" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000054_source" class="dyn-source">
<div id="M000056_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 13</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear</span>
<span class="ruby-ivar">@dir_levels</span> = <span class="ruby-keyword kw">nil</span>
@ -220,9 +220,9 @@
</div>
<div class="method">
<div class="title" id="M000065">
<div class="title" id="M000064">
<a name="M000065"></a><b>clone</b>(path)
<a name="M000064"></a><b>clone</b>(path)
</div>
@ -238,12 +238,12 @@ copies directories and files from the real filesystem into our fake one
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show</a>
Source: <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L49" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000065_source" class="dyn-source">
<div id="M000064_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 49</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clone</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-identifier">path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">path</span>)
@ -296,9 +296,9 @@ copies directories and files from the real filesystem into our fake one
</div>
<div class="method">
<div class="title" id="M000070">
<div class="title" id="M000072">
<a name="M000070"></a><b>delete</b>(path)
<a name="M000072"></a><b>delete</b>(path)
</div>
@ -307,12 +307,12 @@ copies directories and files from the real filesystem into our fake one
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">show</a>
Source: <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L68" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000070_source" class="dyn-source">
<div id="M000072_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 68</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node</span> = <span class="ruby-constant">FileSystem</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">path</span>)
@ -325,9 +325,9 @@ copies directories and files from the real filesystem into our fake one
</div>
<div class="method">
<div class="title" id="M000052">
<div class="title" id="M000054">
<a name="M000052"></a><b>dir_levels</b>()
<a name="M000054"></a><b>dir_levels</b>()
</div>
@ -336,12 +336,12 @@ copies directories and files from the real filesystem into our fake one
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show</a>
Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L5" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000052_source" class="dyn-source">
<div id="M000054_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 5</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dir_levels</span>
<span class="ruby-ivar">@dir_levels</span> <span class="ruby-operator">||=</span> []
@ -352,9 +352,9 @@ copies directories and files from the real filesystem into our fake one
</div>
<div class="method">
<div class="title" id="M000055">
<div class="title" id="M000057">
<a name="M000055"></a><b>files</b>()
<a name="M000057"></a><b>files</b>()
</div>
@ -363,12 +363,12 @@ copies directories and files from the real filesystem into our fake one
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show</a>
Source: <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L18" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000055_source" class="dyn-source">
<div id="M000057_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 18</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">files</span>
<span class="ruby-identifier">fs</span>.<span class="ruby-identifier">values</span>
@ -379,9 +379,9 @@ copies directories and files from the real filesystem into our fake one
</div>
<div class="method">
<div class="title" id="M000056">
<div class="title" id="M000058">
<a name="M000056"></a><b>find</b>(path)
<a name="M000058"></a><b>find</b>(path)
</div>
@ -390,12 +390,12 @@ copies directories and files from the real filesystem into our fake one
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show</a>
Source: <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L22" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000056_source" class="dyn-source">
<div id="M000058_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 22</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-identifier">parts</span> = <span class="ruby-identifier">path_parts</span>(<span class="ruby-identifier">normalize_path</span>(<span class="ruby-identifier">path</span>))
@ -415,9 +415,9 @@ copies directories and files from the real filesystem into our fake one
</div>
<div class="method">
<div class="title" id="M000053">
<div class="title" id="M000055">
<a name="M000053"></a><b>fs</b>()
<a name="M000055"></a><b>fs</b>()
</div>
@ -426,12 +426,12 @@ copies directories and files from the real filesystem into our fake one
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show</a>
Source: <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L9" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000053_source" class="dyn-source">
<div id="M000055_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 9</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fs</span>
<span class="ruby-ivar">@fs</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">FakeDir</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'.'</span>)
@ -442,9 +442,9 @@ copies directories and files from the real filesystem into our fake one
</div>
<div class="method">
<div class="title" id="M000073">
<div class="title" id="M000077">
<a name="M000073"></a><b>normalize_path</b>(path)
<a name="M000077"></a><b>normalize_path</b>(path)
</div>
@ -453,12 +453,12 @@ copies directories and files from the real filesystem into our fake one
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show</a>
Source: <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L90" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000073_source" class="dyn-source">
<div id="M000077_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 90</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">normalize_path</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">Pathname</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">path</span>).<span class="ruby-identifier">absolute?</span>
@ -474,9 +474,9 @@ copies directories and files from the real filesystem into our fake one
</div>
<div class="method">
<div class="title" id="M000072">
<div class="title" id="M000074">
<a name="M000072"></a><b>path_parts</b>(path)
<a name="M000074"></a><b>path_parts</b>(path)
</div>
@ -485,12 +485,12 @@ copies directories and files from the real filesystem into our fake one
<div class="sourcecode">
<p class="source-link">
Source: <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show</a>
Source: <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show</a>
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L86" target="_blank" class="github_url">on GitHub</a>
</p>
<div id="M000072_source" class="dyn-source">
<div id="M000074_source" class="dyn-source">
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 86</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">path_parts</span>(<span class="ruby-identifier">path</span>)
<span class="ruby-identifier">path</span>.<span class="ruby-identifier">split</span>(<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">PATH_SEPARATOR</span>).<span class="ruby-identifier">reject</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">part</span><span class="ruby-operator">|</span> <span class="ruby-identifier">part</span>.<span class="ruby-identifier">empty?</span> }

View File

@ -1 +1 @@
Sat, 18 Dec 2010 14:22:00 -0500
Sat, 18 Dec 2010 14:27:59 -0500

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>CONTRIBUTORS</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>LICENSE</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>README.markdown</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/base.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/dir.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/fake/dir.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/fake/file.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/fake/symlink.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/file.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/file_system.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/file_test.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/fileutils.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/safe.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/spec_helpers.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs/version.rb</li>
<li>Last modified: Sat Dec 18 14:19:13 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

View File

@ -19,7 +19,7 @@
</h1>
<ul class="files">
<li>lib/fakefs.rb</li>
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
<li>Last modified: Sat Dec 18 14:27:23 -0500 2010</li>
</ul>
</div>

File diff suppressed because one or more lines are too long