doc/Rubu/State.html in rubu-0.0.5 vs doc/Rubu/State.html in rubu-0.0.6
- old
+ new
@@ -1,106 +1,106 @@
-<!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">
+<!DOCTYPE html>
+<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: Rubu::State
- — Documentation by YARD 0.8.7.6
+ — Documentation by YARD 0.9.16
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
- hasFrames = window.top.frames.main ? true : false;
+ pathId = "Rubu::State";
relpath = '../';
- framesUrl = "../frames.html#!Rubu/State.html";
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
- <div id="header">
- <div id="menu">
+ <div class="nav_wrap">
+ <iframe id="nav" src="../class_list.html?1"></iframe>
+ <div id="resizer"></div>
+ </div>
+
+ <div id="main" tabindex="-1">
+ <div id="header">
+ <div id="menu">
<a href="../_index.html">Index (S)</a> »
<span class='title'><span class='object_link'><a href="../Rubu.html" title="Rubu (module)">Rubu</a></span></span>
»
<span class="title">State</span>
-
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>
- <div id="search">
+ <div id="search">
<a class="full_list_link" id="class_list_link"
href="../class_list.html">
- Class List
+
+ <svg width="24" height="24">
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
+ </svg>
</a>
- <a class="full_list_link" id="method_list_link"
- href="../method_list.html">
- Method List
- </a>
-
- <a class="full_list_link" id="file_list_link"
- href="../file_list.html">
- File List
- </a>
-
</div>
- <div class="clear"></div>
- </div>
+ <div class="clear"></div>
+ </div>
- <iframe id="search_frame"></iframe>
-
- <div id="content"><h1>Class: Rubu::State
+ <div id="content"><h1>Class: Rubu::State
</h1>
-
-<dl class="box">
+<div class="box_info">
- <dt class="r1">Inherits:</dt>
- <dd class="r1">
+ <dl>
+ <dt>Inherits:</dt>
+ <dd>
<span class="inheritName">Object</span>
<ul class="fullTree">
<li>Object</li>
<li class="next">Rubu::State</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
- </dd>
-
+ </dd>
+ </dl>
+
-
-
- <dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">lib/rubu.rb</dd>
+
-</dl>
-<div class="clear"></div>
+
+ <dl>
+ <dt>Defined in:</dt>
+ <dd>lib/rubu.rb</dd>
+ </dl>
+
+</div>
+
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>Persistent state of Rubu.</p>
@@ -112,12 +112,16 @@
</div>
<div class="tags">
</div>
- <h2>Constant Summary</h2>
+ <h2>
+ Constant Summary
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
+ </h2>
+
<dl class="constants">
<dt id="md5-classvariable" class="">@@md5 =
</dt>
@@ -138,19 +142,19 @@
<h2>
Class Method Summary
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+ <small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#load-class_method" title="load (class method)">+ (Object) <strong>load</strong> </a>
+ <a href="#load-class_method" title="load (class method)">.<strong>load</strong> ⇒ Object </a>
</span>
@@ -170,11 +174,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#md5_check_and_update%3F-class_method" title="md5_check_and_update? (class method)">+ (Boolean) <strong>md5_check_and_update?</strong>(file) </a>
+ <a href="#md5_check_and_update%3F-class_method" title="md5_check_and_update? (class method)">.<strong>md5_check_and_update?</strong>(file) ⇒ Boolean </a>
</span>
@@ -194,11 +198,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#md5_gen-class_method" title="md5_gen (class method)">+ (Object) <strong>md5_gen</strong>(file) </a>
+ <a href="#md5_gen-class_method" title="md5_gen (class method)">.<strong>md5_gen</strong>(file) ⇒ Object </a>
</span>
@@ -218,11 +222,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#save-class_method" title="save (class method)">+ (Object) <strong>save</strong> </a>
+ <a href="#save-class_method" title="save (class method)">.<strong>save</strong> ⇒ Object </a>
</span>
@@ -251,11 +255,11 @@
<div class="method_details first">
<h3 class="signature first" id="load-class_method">
- + (<tt>Object</tt>) <strong>load</strong>
+ .<strong>load</strong> ⇒ <tt>Object</tt>
@@ -283,11 +287,11 @@
30</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 26</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'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::State (class)">State</a></span></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>
<span class='kw'>end</span></pre>
</td>
@@ -296,11 +300,11 @@
</div>
<div class="method_details ">
<h3 class="signature " id="md5_check_and_update?-class_method">
- + (<tt>Boolean</tt>) <strong>md5_check_and_update?</strong>(file)
+ .<strong>md5_check_and_update?</strong>(file) ⇒ <tt>Boolean</tt>
@@ -369,20 +373,20 @@
54</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 42</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'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::State (class)">State</a></span></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='id identifier rubyid_md5'>md5</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="Rubu::State (class)">State</a></span></span><span class='period'>.</span><span class='id identifier rubyid_md5_gen'><span class='object_link'><a href="#md5_gen-class_method" title="Rubu::State.md5_gen (method)">md5_gen</a></span></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>
<span class='cvar'>@@md5</span><span class='lbracket'>[</span> <span class='id identifier rubyid_file'>file</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_md5'>md5</span>
<span class='kw'>return</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>return</span> <span class='kw'>false</span>
<span class='kw'>else</span>
- <span class='cvar'>@@md5</span><span class='lbracket'>[</span> <span class='id identifier rubyid_file'>file</span> <span class='rbracket'>]</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='cvar'>@@md5</span><span class='lbracket'>[</span> <span class='id identifier rubyid_file'>file</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="Rubu::State (class)">State</a></span></span><span class='period'>.</span><span class='id identifier rubyid_md5_gen'><span class='object_link'><a href="#md5_gen-class_method" title="Rubu::State.md5_gen (method)">md5_gen</a></span></span><span class='lparen'>(</span> <span class='id identifier rubyid_file'>file</span> <span class='rparen'>)</span>
<span class='kw'>return</span> <span class='kw'>true</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
@@ -390,11 +394,11 @@
</div>
<div class="method_details ">
<h3 class="signature " id="md5_gen-class_method">
- + (<tt>Object</tt>) <strong>md5_gen</strong>(file)
+ .<strong>md5_gen</strong>(file) ⇒ <tt>Object</tt>
@@ -440,22 +444,22 @@
37</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 35</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='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::State (class)">State</a></span></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>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="save-class_method">
- + (<tt>Object</tt>) <strong>save</strong>
+ .<strong>save</strong> ⇒ <tt>Object</tt>
@@ -483,11 +487,11 @@
23</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 19</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'>def</span> <span class='const'><span class='object_link'><a href="" title="Rubu::State (class)">State</a></span></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>
<span class='kw'>end</span></pre>
</td>
@@ -497,13 +501,14 @@
</div>
</div>
- <div id="footer">
- Generated on Fri Aug 31 09:32:06 2018 by
+ <div id="footer">
+ Generated on Tue Sep 11 08:02:18 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).
+ 0.9.16 (ruby-2.5.1).
</div>
+ </div>
</body>
</html>
\ No newline at end of file