doc/Como/ComoCommon.html in como-0.1.2 vs doc/Como/ComoCommon.html in como-0.1.3
- old
+ new
@@ -92,11 +92,13 @@
<dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">lib/como.rb</dd>
+ <dd class="r2 last">lib/como.rb<span class="defines">,<br />
+ lib/version.rb</span>
+</dd>
</dl>
<div class="clear"></div>
<h2>Overview</h2><div class="docstring">
@@ -117,10 +119,15 @@
<h2>Constant Summary</h2>
<dl class="constants">
+ <dt id="VERSION-constant" class="">VERSION =
+
+ </dt>
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.3</span><span class='tstring_end'>"</span></span></pre></dd>
+
<dt id="io-classvariable" class="">@@io =
<div class="docstring">
<div class="discussion">
<p>Default value for display output.</p>
@@ -133,10 +140,26 @@
</div>
</dt>
<dd><pre class="code"><span class='const'>STDOUT</span></pre></dd>
+ <dt id="hook-classvariable" class="">@@hook =
+ <div class="docstring">
+ <div class="discussion">
+
+<p>Hooks.</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='lbrace'>{</span><span class='rbrace'>}</span></pre></dd>
+
</dl>
@@ -177,10 +200,54 @@
<li class="public ">
<span class="summary_signature">
+ <a href="#runHook-class_method" title="runHook (class method)">+ (Object) <strong>runHook</strong>(name, args) </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'></div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#setHook-class_method" title="setHook (class method)">+ (Object) <strong>setHook</strong>(name, &code) </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'></div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
<a href="#setIo-class_method" title="setIo (class method)">+ (Object) <strong>setIo</strong>(io) </a>
</span>
@@ -233,26 +300,86 @@
<tr>
<td>
<pre class="lines">
-437
-438
-439</pre>
+480
+481
+482</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/como.rb', line 437</span>
+ <pre class="code"><span class="info file"># File 'lib/como.rb', line 480</span>
<span class='kw'>def</span> <span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_getIo'>getIo</span>
<span class='cvar'>@@io</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
+ <h3 class="signature " id="runHook-class_method">
+
+ + (<tt>Object</tt>) <strong>runHook</strong>(name, args)
+
+
+
+
+
+</h3><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+488
+489
+490</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/como.rb', line 488</span>
+
+<span class='kw'>def</span> <span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_runHook'>runHook</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
+ <span class='cvar'>@@hook</span><span class='lbracket'>[</span> <span class='id identifier rubyid_name'>name</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_yield'>yield</span><span class='lparen'>(</span> <span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span> <span class='kw'>if</span> <span class='cvar'>@@hook</span><span class='lbracket'>[</span> <span class='id identifier rubyid_name'>name</span> <span class='rbracket'>]</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
+ <h3 class="signature " id="setHook-class_method">
+
+ + (<tt>Object</tt>) <strong>setHook</strong>(name, &code)
+
+
+
+
+
+</h3><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+484
+485
+486</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/como.rb', line 484</span>
+
+<span class='kw'>def</span> <span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_setHook'>setHook</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_code'>code</span> <span class='rparen'>)</span>
+ <span class='cvar'>@@hook</span><span class='lbracket'>[</span> <span class='id identifier rubyid_name'>name</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_code'>code</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
<h3 class="signature " id="setIo-class_method">
+ (<tt>Object</tt>) <strong>setIo</strong>(io)
@@ -274,16 +401,16 @@
<tr>
<td>
<pre class="lines">
-432
-433
-434</pre>
+475
+476
+477</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/como.rb', line 432</span>
+ <pre class="code"><span class="info file"># File 'lib/como.rb', line 475</span>
<span class='kw'>def</span> <span class='const'>ComoCommon</span><span class='period'>.</span><span class='id identifier rubyid_setIo'>setIo</span><span class='lparen'>(</span> <span class='id identifier rubyid_io'>io</span> <span class='rparen'>)</span>
<span class='cvar'>@@io</span> <span class='op'>=</span> <span class='id identifier rubyid_io'>io</span>
<span class='kw'>end</span></pre>
</td>
@@ -294,10 +421,10 @@
</div>
</div>
<div id="footer">
- Generated on Wed Apr 23 19:33:20 2014 by
+ Generated on Wed Jul 9 14:02:42 2014 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.6.1 (ruby-1.9.3).
</div>
</body>
\ No newline at end of file