update docs
This commit is contained in:
parent
a719e5af7b
commit
c1db0b6960
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,7 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000086">directory?</a></li>
|
||||
<li><a href="#M000087">directory?</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -58,9 +58,9 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000082">new</a>,</li>
|
||||
<li><a href="#M000085">new</a>,</li>
|
||||
|
||||
<li><a href="#M000087">nlink</a></li>
|
||||
<li><a href="#M000088">nlink</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -69,9 +69,9 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000088">size</a>,</li>
|
||||
<li><a href="#M000089">size</a>,</li>
|
||||
|
||||
<li><a href="#M000083">symlink?</a></li>
|
||||
<li><a href="#M000086">symlink?</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -114,9 +114,9 @@
|
||||
<div class="sectiontitle">Class Public methods</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000082">
|
||||
<div class="title" id="M000085">
|
||||
|
||||
<a name="M000082"></a><b>new</b>(file, __lstat = false)
|
||||
<a name="M000085"></a><b>new</b>(file, __lstat = false)
|
||||
|
||||
</div>
|
||||
|
||||
@ -125,12 +125,12 @@
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000082_source')" id="l_M000082_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#L192" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000082_source" class="dyn-source">
|
||||
<div id="M000085_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>)
|
||||
@ -150,37 +150,10 @@
|
||||
|
||||
<div class="sectiontitle">Instance Public methods</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000086">
|
||||
|
||||
<a name="M000086"></a><b>directory?</b>()
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
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="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>)
|
||||
<span class="ruby-keyword kw">end</span></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000087">
|
||||
|
||||
<a name="M000087"></a><b>nlink</b>()
|
||||
<a name="M000087"></a><b>directory?</b>()
|
||||
|
||||
</div>
|
||||
|
||||
@ -191,13 +164,13 @@
|
||||
<p class="source-link">
|
||||
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>
|
||||
| <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">
|
||||
<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>
|
||||
<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>)
|
||||
<span class="ruby-keyword kw">end</span></pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -207,7 +180,7 @@
|
||||
<div class="method">
|
||||
<div class="title" id="M000088">
|
||||
|
||||
<a name="M000088"></a><b>size</b>()
|
||||
<a name="M000088"></a><b>nlink</b>()
|
||||
|
||||
</div>
|
||||
|
||||
@ -218,10 +191,37 @@
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L216" target="_blank" class="github_url">on GitHub</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">
|
||||
<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>
|
||||
<span class="ruby-keyword kw">end</span></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000089">
|
||||
|
||||
<a name="M000089"></a><b>size</b>()
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000089_source')" id="l_M000089_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/82db05e85d1a486fbdb671af4b1d93085e515c82/lib/fakefs/file.rb#L216" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000089_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/file.rb, line 216</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size</span>
|
||||
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@__lstat</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">symlink?</span>
|
||||
@ -236,9 +236,9 @@
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000083">
|
||||
<div class="title" id="M000086">
|
||||
|
||||
<a name="M000083"></a><b>symlink?</b>()
|
||||
<a name="M000086"></a><b>symlink?</b>()
|
||||
|
||||
</div>
|
||||
|
||||
@ -247,12 +247,12 @@
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000083_source')" id="l_M000083_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#L204" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000083_source" class="dyn-source">
|
||||
<div id="M000086_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>)
|
||||
|
@ -43,7 +43,7 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000067">add</a></li>
|
||||
<li><a href="#M000060">add</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -52,13 +52,13 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000076">chdir</a>,</li>
|
||||
<li><a href="#M000071">chdir</a>,</li>
|
||||
|
||||
<li><a href="#M000059">clear</a>,</li>
|
||||
<li><a href="#M000054">clear</a>,</li>
|
||||
|
||||
<li><a href="#M000073">clone</a>,</li>
|
||||
<li><a href="#M000065">clone</a>,</li>
|
||||
|
||||
<li><a href="#M000084">current_dir</a></li>
|
||||
<li><a href="#M000078">current_dir</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -67,9 +67,9 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000075">delete</a>,</li>
|
||||
<li><a href="#M000070">delete</a>,</li>
|
||||
|
||||
<li><a href="#M000057">dir_levels</a></li>
|
||||
<li><a href="#M000052">dir_levels</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -78,11 +78,11 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000060">files</a>,</li>
|
||||
<li><a href="#M000055">files</a>,</li>
|
||||
|
||||
<li><a href="#M000061">find</a>,</li>
|
||||
<li><a href="#M000056">find</a>,</li>
|
||||
|
||||
<li><a href="#M000058">fs</a></li>
|
||||
<li><a href="#M000053">fs</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -91,7 +91,7 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000078">normalize_path</a></li>
|
||||
<li><a href="#M000073">normalize_path</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -100,7 +100,7 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000077">path_parts</a></li>
|
||||
<li><a href="#M000072">path_parts</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -122,9 +122,9 @@
|
||||
<div class="sectiontitle">Instance Public methods</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000067">
|
||||
<div class="title" id="M000060">
|
||||
|
||||
<a name="M000067"></a><b>add</b>(path, object=FakeDir.new)
|
||||
<a name="M000060"></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('M000067_source')" id="l_M000067_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_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="M000067_source" class="dyn-source">
|
||||
<div id="M000060_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="M000076">
|
||||
<div class="title" id="M000071">
|
||||
|
||||
<a name="M000076"></a><b>chdir</b>(dir, &blk)
|
||||
<a name="M000071"></a><b>chdir</b>(dir, &blk)
|
||||
|
||||
</div>
|
||||
|
||||
@ -168,12 +168,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('M000071_source')" id="l_M000071_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="M000076_source" class="dyn-source">
|
||||
<div id="M000071_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">&</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="M000059">
|
||||
<div class="title" id="M000054">
|
||||
|
||||
<a name="M000059"></a><b>clear</b>()
|
||||
<a name="M000054"></a><b>clear</b>()
|
||||
|
||||
</div>
|
||||
|
||||
@ -203,12 +203,12 @@
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000059_source')" id="l_M000059_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#L13" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000059_source" class="dyn-source">
|
||||
<div id="M000054_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="M000073">
|
||||
<div class="title" id="M000065">
|
||||
|
||||
<a name="M000073"></a><b>clone</b>(path)
|
||||
<a name="M000065"></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('M000073_source')" id="l_M000073_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000065_source')" id="l_M000065_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="M000073_source" class="dyn-source">
|
||||
<div id="M000065_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>)
|
||||
@ -269,9 +269,9 @@ copies directories and files from the real filesystem into our fake one
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000084">
|
||||
<div class="title" id="M000078">
|
||||
|
||||
<a name="M000084"></a><b>current_dir</b>()
|
||||
<a name="M000078"></a><b>current_dir</b>()
|
||||
|
||||
</div>
|
||||
|
||||
@ -280,12 +280,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('M000084_source')" id="l_M000084_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L99" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000084_source" class="dyn-source">
|
||||
<div id="M000078_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/file_system.rb, line 99</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_dir</span>
|
||||
<span class="ruby-identifier">find</span>(<span class="ruby-identifier">normalize_path</span>(<span class="ruby-value str">'.'</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="M000075">
|
||||
<div class="title" id="M000070">
|
||||
|
||||
<a name="M000075"></a><b>delete</b>(path)
|
||||
<a name="M000070"></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('M000075_source')" id="l_M000075_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000070_source')" id="l_M000070_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="M000075_source" class="dyn-source">
|
||||
<div id="M000070_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="M000057">
|
||||
<div class="title" id="M000052">
|
||||
|
||||
<a name="M000057"></a><b>dir_levels</b>()
|
||||
<a name="M000052"></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('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/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L5" 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_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="M000060">
|
||||
<div class="title" id="M000055">
|
||||
|
||||
<a name="M000060"></a><b>files</b>()
|
||||
<a name="M000055"></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('M000060_source')" id="l_M000060_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#L18" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000060_source" class="dyn-source">
|
||||
<div id="M000055_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="M000061">
|
||||
<div class="title" id="M000056">
|
||||
|
||||
<a name="M000061"></a><b>find</b>(path)
|
||||
<a name="M000056"></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('M000061_source')" id="l_M000061_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#L22" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000061_source" class="dyn-source">
|
||||
<div id="M000056_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="M000058">
|
||||
<div class="title" id="M000053">
|
||||
|
||||
<a name="M000058"></a><b>fs</b>()
|
||||
<a name="M000053"></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('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/25c3b4e632aa9b7e6c46a56a1d3acd0ac5f892ad/lib/fakefs/file_system.rb#L9" 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_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="M000078">
|
||||
<div class="title" id="M000073">
|
||||
|
||||
<a name="M000078"></a><b>normalize_path</b>(path)
|
||||
<a name="M000073"></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('M000078_source')" id="l_M000078_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#L90" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000078_source" class="dyn-source">
|
||||
<div id="M000073_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="M000077">
|
||||
<div class="title" id="M000072">
|
||||
|
||||
<a name="M000077"></a><b>path_parts</b>(path)
|
||||
<a name="M000072"></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('M000077_source')" id="l_M000077_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#L86" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000077_source" class="dyn-source">
|
||||
<div id="M000072_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> }
|
||||
|
@ -43,13 +43,13 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000134">cd</a>,</li>
|
||||
<li><a href="#M000137">cd</a>,</li>
|
||||
|
||||
<li><a href="#M000135">chdir</a>,</li>
|
||||
<li><a href="#M000138">chdir</a>,</li>
|
||||
|
||||
<li><a href="#M000131">chown</a>,</li>
|
||||
<li><a href="#M000134">chown</a>,</li>
|
||||
|
||||
<li><a href="#M000132">chown_R</a>,</li>
|
||||
<li><a href="#M000135">chown_R</a>,</li>
|
||||
|
||||
<li><a href="#M000128">cp</a>,</li>
|
||||
|
||||
@ -77,7 +77,7 @@
|
||||
|
||||
<li><a href="#M000120">mkpath</a>,</li>
|
||||
|
||||
<li><a href="#M000130">mv</a></li>
|
||||
<li><a href="#M000133">mv</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -103,7 +103,7 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000133">touch</a></li>
|
||||
<li><a href="#M000136">touch</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -125,9 +125,9 @@
|
||||
<div class="sectiontitle">Instance Public methods</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000134">
|
||||
<div class="title" id="M000137">
|
||||
|
||||
<a name="M000134"></a><b>cd</b>(dir)
|
||||
<a name="M000137"></a><b>cd</b>(dir)
|
||||
|
||||
</div>
|
||||
|
||||
@ -135,7 +135,7 @@
|
||||
<div class="aka">
|
||||
This method is also aliased as
|
||||
|
||||
<a href="FileUtils.html#M000135">chdir</a>
|
||||
<a href="FileUtils.html#M000138">chdir</a>
|
||||
|
||||
</div>
|
||||
|
||||
@ -143,12 +143,12 @@
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/c2a9c13345ab2ec7a259401d9916e3aecc88489d/lib/fakefs/fileutils.rb#L124" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000134_source" class="dyn-source">
|
||||
<div id="M000137_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/fileutils.rb, line 124</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cd</span>(<span class="ruby-identifier">dir</span>)
|
||||
<span class="ruby-constant">FileSystem</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">dir</span>)
|
||||
@ -159,15 +159,15 @@
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000135">
|
||||
<div class="title" id="M000138">
|
||||
|
||||
<a name="M000135"></a><b>chdir</b>(dir)
|
||||
<a name="M000138"></a><b>chdir</b>(dir)
|
||||
|
||||
</div>
|
||||
|
||||
<div class="description">
|
||||
<p>
|
||||
Alias for <a href="FileUtils.html#M000134">cd</a>
|
||||
Alias for <a href="FileUtils.html#M000137">cd</a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
@ -177,9 +177,9 @@ Alias for <a href="FileUtils.html#M000134">cd</a>
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000131">
|
||||
<div class="title" id="M000134">
|
||||
|
||||
<a name="M000131"></a><b>chown</b>(user, group, list, options={})
|
||||
<a name="M000134"></a><b>chown</b>(user, group, list, options={})
|
||||
|
||||
</div>
|
||||
|
||||
@ -188,12 +188,12 @@ Alias for <a href="FileUtils.html#M000134">cd</a>
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/c2a9c13345ab2ec7a259401d9916e3aecc88489d/lib/fakefs/fileutils.rb#L98" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000131_source" class="dyn-source">
|
||||
<div id="M000134_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/fileutils.rb, line 98</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chown</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>={})
|
||||
<span class="ruby-identifier">list</span> = <span class="ruby-constant">Array</span>(<span class="ruby-identifier">list</span>)
|
||||
@ -210,9 +210,9 @@ Alias for <a href="FileUtils.html#M000134">cd</a>
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000132">
|
||||
<div class="title" id="M000135">
|
||||
|
||||
<a name="M000132"></a><b>chown_R</b>(user, group, list, options={})
|
||||
<a name="M000135"></a><b>chown_R</b>(user, group, list, options={})
|
||||
|
||||
</div>
|
||||
|
||||
@ -221,12 +221,12 @@ Alias for <a href="FileUtils.html#M000134">cd</a>
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000132_source')" id="l_M000132_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/c2a9c13345ab2ec7a259401d9916e3aecc88489d/lib/fakefs/fileutils.rb#L108" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000132_source" class="dyn-source">
|
||||
<div id="M000135_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/fileutils.rb, line 108</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chown_R</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>={})
|
||||
<span class="ruby-identifier">chown</span>(<span class="ruby-identifier">user</span>, <span class="ruby-identifier">group</span>, <span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>={})
|
||||
@ -439,9 +439,9 @@ Alias for <a href="FileUtils.html#M000119">mkdir_p</a>
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000130">
|
||||
<div class="title" id="M000133">
|
||||
|
||||
<a name="M000130"></a><b>mv</b>(src, dest, options={})
|
||||
<a name="M000133"></a><b>mv</b>(src, dest, options={})
|
||||
|
||||
</div>
|
||||
|
||||
@ -450,12 +450,12 @@ Alias for <a href="FileUtils.html#M000119">mkdir_p</a>
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/c2a9c13345ab2ec7a259401d9916e3aecc88489d/lib/fakefs/fileutils.rb#L89" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000130_source" class="dyn-source">
|
||||
<div id="M000133_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/fileutils.rb, line 89</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mv</span>(<span class="ruby-identifier">src</span>, <span class="ruby-identifier">dest</span>, <span class="ruby-identifier">options</span>={})
|
||||
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">target</span> = <span class="ruby-constant">FileSystem</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">src</span>)
|
||||
@ -600,9 +600,9 @@ Alias for <a href="FileUtils.html#M000122">rm</a>
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000133">
|
||||
<div class="title" id="M000136">
|
||||
|
||||
<a name="M000133"></a><b>touch</b>(list, options={})
|
||||
<a name="M000136"></a><b>touch</b>(list, options={})
|
||||
|
||||
</div>
|
||||
|
||||
@ -611,12 +611,12 @@ Alias for <a href="FileUtils.html#M000122">rm</a>
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/c2a9c13345ab2ec7a259401d9916e3aecc88489d/lib/fakefs/fileutils.rb#L112" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000133_source" class="dyn-source">
|
||||
<div id="M000136_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/fileutils.rb, line 112</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">touch</span>(<span class="ruby-identifier">list</span>, <span class="ruby-identifier">options</span>={})
|
||||
<span class="ruby-constant">Array</span>(<span class="ruby-identifier">list</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
||||
|
@ -43,7 +43,7 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000136">extended</a></li>
|
||||
<li><a href="#M000130">extended</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -52,7 +52,7 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000137">included</a></li>
|
||||
<li><a href="#M000131">included</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -61,7 +61,7 @@
|
||||
<dd>
|
||||
<ul>
|
||||
|
||||
<li><a href="#M000138">use_fakefs</a></li>
|
||||
<li><a href="#M000132">use_fakefs</a></li>
|
||||
|
||||
</ul>
|
||||
</dd>
|
||||
@ -83,9 +83,9 @@
|
||||
<div class="sectiontitle">Class Public methods</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000136">
|
||||
<div class="title" id="M000130">
|
||||
|
||||
<a name="M000136"></a><b>extended</b>(example_group)
|
||||
<a name="M000130"></a><b>extended</b>(example_group)
|
||||
|
||||
</div>
|
||||
|
||||
@ -94,12 +94,12 @@
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/85d4fa117317385f8e2aa5c441b23ff5f84239c3/lib/fakefs/spec_helpers.rb#L27" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000136_source" class="dyn-source">
|
||||
<div id="M000130_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/spec_helpers.rb, line 27</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">extended</span>(<span class="ruby-identifier">example_group</span>)
|
||||
<span class="ruby-identifier">example_group</span>.<span class="ruby-identifier">use_fakefs</span>(<span class="ruby-identifier">example_group</span>)
|
||||
@ -110,9 +110,9 @@
|
||||
</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000137">
|
||||
<div class="title" id="M000131">
|
||||
|
||||
<a name="M000137"></a><b>included</b>(example_group)
|
||||
<a name="M000131"></a><b>included</b>(example_group)
|
||||
|
||||
</div>
|
||||
|
||||
@ -121,12 +121,12 @@
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/85d4fa117317385f8e2aa5c441b23ff5f84239c3/lib/fakefs/spec_helpers.rb#L31" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000137_source" class="dyn-source">
|
||||
<div id="M000131_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/spec_helpers.rb, line 31</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">example_group</span>)
|
||||
<span class="ruby-identifier">example_group</span>.<span class="ruby-identifier">extend</span> <span class="ruby-keyword kw">self</span>
|
||||
@ -139,9 +139,9 @@
|
||||
<div class="sectiontitle">Instance Public methods</div>
|
||||
|
||||
<div class="method">
|
||||
<div class="title" id="M000138">
|
||||
<div class="title" id="M000132">
|
||||
|
||||
<a name="M000138"></a><b>use_fakefs</b>(describe_block)
|
||||
<a name="M000132"></a><b>use_fakefs</b>(describe_block)
|
||||
|
||||
</div>
|
||||
|
||||
@ -150,12 +150,12 @@
|
||||
|
||||
<div class="sourcecode">
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show</a>
|
||||
Source: <a href="javascript:toggleSource('M000132_source')" id="l_M000132_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/85d4fa117317385f8e2aa5c441b23ff5f84239c3/lib/fakefs/spec_helpers.rb#L35" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000138_source" class="dyn-source">
|
||||
<div id="M000132_source" class="dyn-source">
|
||||
<pre><span class="ruby-comment cmt"># File lib/fakefs/spec_helpers.rb, line 35</span>
|
||||
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">use_fakefs</span>(<span class="ruby-identifier">describe_block</span>)
|
||||
<span class="ruby-identifier">describe_block</span>.<span class="ruby-identifier">before</span> <span class="ruby-identifier">:each</span> <span class="ruby-keyword kw">do</span>
|
||||
|
@ -64,7 +64,7 @@
|
||||
<tr valign='top'>
|
||||
<td class="attr-name">VERSION</td>
|
||||
<td>=</td>
|
||||
<td class="attr-value">"0.3.0"</td>
|
||||
<td class="attr-value">"0.3.1"</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@
|
||||
<p class="source-link">
|
||||
Source: <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">show</a>
|
||||
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/d7363f7c56725de6840e566260d6cb6b2d7419de/lib/fakefs/version.rb#L5" target="_blank" class="github_url">on GitHub</a>
|
||||
| <a href="http://github.com/defunkt/fakefs/blob/c59eb01b95e181108645184244000da2976633a6/lib/fakefs/version.rb#L5" target="_blank" class="github_url">on GitHub</a>
|
||||
|
||||
</p>
|
||||
<div id="M000139_source" class="dyn-source">
|
||||
|
@ -1 +1 @@
|
||||
Sat, 18 Dec 2010 14:14:21 -0500
|
||||
Sat, 18 Dec 2010 14:22:00 -0500
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>CONTRIBUTORS</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>LICENSE</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>README.markdown</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/base.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/dir.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/fake/dir.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/fake/file.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/fake/symlink.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/file.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/file_system.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/file_test.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/fileutils.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/safe.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/spec_helpers.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs/version.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:19:13 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
</h1>
|
||||
<ul class="files">
|
||||
<li>lib/fakefs.rb</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:01 -0500 2010</li>
|
||||
<li>Last modified: Sat Dec 18 14:14:26 -0500 2010</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user