doc/Rubu/State.html in rubu-0.0.3 vs doc/Rubu/State.html in rubu-0.0.4
- old
+ new
@@ -274,18 +274,18 @@
<tr>
<td>
<pre class="lines">
+24
25
26
27
-28
-29</pre>
+28</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 25</span>
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 24</span>
<span class='kw'>def</span> <span class='const'>State</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span>
<span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span><span class='lparen'>(</span> <span class='cvar'>@@state_file</span> <span class='rparen'>)</span>
<span class='cvar'>@@md5</span> <span class='op'>=</span> <span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span> <span class='cvar'>@@state_file</span> <span class='rparen'>)</span>
<span class='kw'>end</span>
@@ -352,10 +352,11 @@
<tr>
<td>
<pre class="lines">
+40
41
42
43
44
45
@@ -363,15 +364,14 @@
47
48
49
50
51
-52
-53</pre>
+52</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 41</span>
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 40</span>
<span class='kw'>def</span> <span class='const'>State</span><span class='period'>.</span><span class='id identifier rubyid_md5_check_and_update?'>md5_check_and_update?</span><span class='lparen'>(</span> <span class='id identifier rubyid_file'>file</span> <span class='rparen'>)</span>
<span class='kw'>if</span> <span class='cvar'>@@md5</span><span class='lbracket'>[</span> <span class='id identifier rubyid_file'>file</span> <span class='rbracket'>]</span>
<span class='id identifier rubyid_md5'>md5</span> <span class='op'>=</span> <span class='const'>State</span><span class='period'>.</span><span class='id identifier rubyid_md5_gen'>md5_gen</span><span class='lparen'>(</span> <span class='id identifier rubyid_file'>file</span> <span class='rparen'>)</span>
<span class='kw'>if</span> <span class='id identifier rubyid_md5'>md5</span> <span class='op'>!=</span> <span class='cvar'>@@md5</span><span class='lbracket'>[</span> <span class='id identifier rubyid_file'>file</span> <span class='rbracket'>]</span>
@@ -433,16 +433,16 @@
<tr>
<td>
<pre class="lines">
+33
34
-35
-36</pre>
+35</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 34</span>
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 33</span>
<span class='kw'>def</span> <span class='const'>State</span><span class='period'>.</span><span class='id identifier rubyid_md5_gen'>md5_gen</span><span class='lparen'>(</span> <span class='id identifier rubyid_file'>file</span> <span class='rparen'>)</span>
<span class='const'>Digest</span><span class='op'>::</span><span class='const'>MD5</span><span class='period'>.</span><span class='id identifier rubyid_hexdigest'>hexdigest</span><span class='lparen'>(</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span> <span class='id identifier rubyid_file'>file</span> <span class='rparen'>)</span> <span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -474,18 +474,18 @@
<tr>
<td>
<pre class="lines">
+17
18
19
20
-21
-22</pre>
+21</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 18</span>
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 17</span>
<span class='kw'>def</span> <span class='const'>State</span><span class='period'>.</span><span class='id identifier rubyid_save'>save</span>
<span class='kw'>if</span> <span class='cvar'>@@md5</span><span class='period'>.</span><span class='id identifier rubyid_any?'>any?</span>
<span class='const'>IO</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span> <span class='cvar'>@@state_file</span><span class='comma'>,</span> <span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_dump'>dump</span><span class='lparen'>(</span> <span class='cvar'>@@md5</span> <span class='rparen'>)</span> <span class='rparen'>)</span>
<span class='kw'>end</span>
@@ -498,10 +498,10 @@
</div>
</div>
<div id="footer">
- Generated on Sun Jul 8 19:50:19 2018 by
+ Generated on Thu Aug 30 16:05:51 2018 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.7.6 (ruby-2.3.3).
</div>
</body>
\ No newline at end of file