doc/TermUtils/Tab/Holder.html in term_utils-0.3.2 vs doc/TermUtils/Tab/Holder.html in term_utils-0.4.0
- old
+ new
@@ -4,19 +4,19 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: TermUtils::Tab::Holder
- — Documentation by YARD 0.9.20
+ — Documentation by YARD 0.9.25
</title>
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
-<script type="text/javascript" charset="utf-8">
+<script type="text/javascript">
pathId = "TermUtils::Tab::Holder";
relpath = '../../';
</script>
@@ -100,11 +100,11 @@
</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
-<p>Represents a holder of tables.</p>
+<p>Represents a Holder of Table(s).</p>
</div>
</div>
<div class="tags">
@@ -282,11 +282,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(opts = {}) ⇒ Holder </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ Holder </a>
</span>
@@ -299,11 +299,11 @@
<span class="summary_desc"><div class='inline'>
-<p>A new instance of Holder.</p>
+<p>Creates a new Holder.</p>
</div></span>
</li>
@@ -386,20 +386,20 @@
<h2>Constructor Details</h2>
<div class="method_details first">
<h3 class="signature first" id="initialize-instance_method">
- #<strong>initialize</strong>(opts = {}) ⇒ <tt><span class='object_link'><a href="" title="TermUtils::Tab::Holder (class)">Holder</a></span></tt>
+ #<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="TermUtils::Tab::Holder (class)">Holder</a></span></tt>
</h3><div class="docstring">
<div class="discussion">
-<p>Returns a new instance of Holder</p>
+<p>Creates a new Holder.</p>
</div>
</div>
<div class="tags">
@@ -409,20 +409,20 @@
<tr>
<td>
<pre class="lines">
-421
-422
-423
-424
-425</pre>
+452
+453
+454
+455
+456</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 421</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 452</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
<span class='ivar'>@table_defaults</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../TermUtils.html" title="TermUtils (module)">TermUtils</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Tab.html" title="TermUtils::Tab (module)">Tab</a></span></span><span class='period'>.</span><span class='id identifier rubyid_init_table_props'><span class='object_link'><a href="../Tab.html#init_table_props-class_method" title="TermUtils::Tab.init_table_props (method)">init_table_props</a></span></span>
<span class='ivar'>@column_defaults</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../TermUtils.html" title="TermUtils (module)">TermUtils</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Tab.html" title="TermUtils::Tab (module)">Tab</a></span></span><span class='period'>.</span><span class='id identifier rubyid_init_column_props'><span class='object_link'><a href="../Tab.html#init_column_props-class_method" title="TermUtils::Tab.init_column_props (method)">init_column_props</a></span></span>
<span class='ivar'>@tables</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
@@ -479,16 +479,16 @@
<tr>
<td>
<pre class="lines">
-418
-419
-420</pre>
+447
+448
+449</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 418</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 447</span>
<span class='kw'>def</span> <span class='id identifier rubyid_column_defaults'>column_defaults</span>
<span class='ivar'>@column_defaults</span>
<span class='kw'>end</span></pre>
</td>
@@ -540,16 +540,16 @@
<tr>
<td>
<pre class="lines">
-416
-417
-418</pre>
+445
+446
+447</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 416</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 445</span>
<span class='kw'>def</span> <span class='id identifier rubyid_table_defaults'>table_defaults</span>
<span class='ivar'>@table_defaults</span>
<span class='kw'>end</span></pre>
</td>
@@ -594,16 +594,16 @@
<tr>
<td>
<pre class="lines">
-420
-421
-422</pre>
+449
+450
+451</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 420</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 449</span>
<span class='kw'>def</span> <span class='id identifier rubyid_tables'>tables</span>
<span class='ivar'>@tables</span>
<span class='kw'>end</span></pre>
</td>
@@ -672,28 +672,28 @@
<tr>
<td>
<pre class="lines">
-446
-447
-448
-449
-450
-451
-452
-453</pre>
+480
+481
+482
+483
+484
+485
+486
+487</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 446</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 480</span>
<span class='kw'>def</span> <span class='id identifier rubyid_create_table'>create_table</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:offset</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@table_defaults</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:offset</span><span class='rparen'>)</span>
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:column_separator_width</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@table_defaults</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:column_separator_width</span><span class='rparen'>)</span>
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:column_defaults</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@column_defaults</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
<span class='id identifier rubyid_new_tab'>new_tab</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Table.html" title="TermUtils::Tab::Table (class)">Table</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Table.html#initialize-instance_method" title="TermUtils::Tab::Table#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
- <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_new_tab'>new_tab</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span>
+ <span class='id identifier rubyid_block'>block</span><span class='op'>&.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_new_tab'>new_tab</span><span class='rparen'>)</span>
<span class='id identifier rubyid_new_tab'>new_tab</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -764,38 +764,38 @@
<tr>
<td>
<pre class="lines">
-458
-459
-460
-461
-462
-463
-464
-465
-466
-467
-468
-469
-470
-471</pre>
+493
+494
+495
+496
+497
+498
+499
+500
+501
+502
+503
+504
+505
+506</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 458</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 493</span>
<span class='kw'>def</span> <span class='id identifier rubyid_define_table'>define_table</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
- <span class='kw'>if</span> <span class='ivar'>@tables</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span> <span class='id identifier rubyid_id'>id</span>
- <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='ivar'>@tables</span><span class='lbracket'>[</span><span class='id identifier rubyid_id'>id</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span>
+ <span class='kw'>if</span> <span class='ivar'>@tables</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span> <span class='id identifier rubyid_id'>id</span>
+ <span class='id identifier rubyid_block'>block</span><span class='op'>&.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='ivar'>@tables</span><span class='lbracket'>[</span><span class='id identifier rubyid_id'>id</span><span class='rbracket'>]</span><span class='rparen'>)</span>
<span class='kw'>else</span>
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:offset</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@table_defaults</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:offset</span><span class='rparen'>)</span>
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:column_separator_width</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@table_defaults</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:column_separator_width</span><span class='rparen'>)</span>
<span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:column_defaults</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@column_defaults</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
<span class='id identifier rubyid_new_tab'>new_tab</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Table.html" title="TermUtils::Tab::Table (class)">Table</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Table.html#initialize-instance_method" title="TermUtils::Tab::Table#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
- <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_new_tab'>new_tab</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span>
+ <span class='id identifier rubyid_block'>block</span><span class='op'>&.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_new_tab'>new_tab</span><span class='rparen'>)</span>
<span class='ivar'>@tables</span><span class='lbracket'>[</span><span class='id identifier rubyid_id'>id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_new_tab'>new_tab</span>
<span class='kw'>end</span>
<span class='ivar'>@tables</span><span class='lbracket'>[</span><span class='id identifier rubyid_id'>id</span><span class='rbracket'>]</span>
<span class='kw'>end</span></pre>
</td>
@@ -855,16 +855,16 @@
<tr>
<td>
<pre class="lines">
-475
-476
-477</pre>
+511
+512
+513</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 475</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 511</span>
<span class='kw'>def</span> <span class='id identifier rubyid_find_table'>find_table</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
<span class='ivar'>@tables</span><span class='lbracket'>[</span><span class='id identifier rubyid_id'>id</span><span class='rbracket'>]</span>
<span class='kw'>end</span></pre>
</td>
@@ -981,16 +981,16 @@
<tr>
<td>
<pre class="lines">
-485
-486
-487</pre>
+522
+523
+524</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 485</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 522</span>
<span class='kw'>def</span> <span class='id identifier rubyid_printer'>printer</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_io'>io</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
<span class='id identifier rubyid_find_table'>find_table</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_printer'>printer</span><span class='lparen'>(</span><span class='id identifier rubyid_io'>io</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -1093,16 +1093,16 @@
<tr>
<td>
<pre class="lines">
-440
-441
-442</pre>
+473
+474
+475</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 440</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 473</span>
<span class='kw'>def</span> <span class='id identifier rubyid_set_column_defaults'>set_column_defaults</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
<span class='const'><span class='object_link'><a href="../../TermUtils.html" title="TermUtils (module)">TermUtils</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Tab.html" title="TermUtils::Tab (module)">Tab</a></span></span><span class='period'>.</span><span class='id identifier rubyid_assign_column_props'><span class='object_link'><a href="../Tab.html#assign_column_props-class_method" title="TermUtils::Tab.assign_column_props (method)">assign_column_props</a></span></span><span class='lparen'>(</span><span class='ivar'>@column_defaults</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -1178,16 +1178,16 @@
<tr>
<td>
<pre class="lines">
-430
-431
-432</pre>
+462
+463
+464</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 430</span>
+ <pre class="code"><span class="info file"># File 'lib/term_utils/tab.rb', line 462</span>
<span class='kw'>def</span> <span class='id identifier rubyid_set_table_defaults'>set_table_defaults</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
<span class='const'><span class='object_link'><a href="../../TermUtils.html" title="TermUtils (module)">TermUtils</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Tab.html" title="TermUtils::Tab (module)">Tab</a></span></span><span class='period'>.</span><span class='id identifier rubyid_assign_table_props'><span class='object_link'><a href="../Tab.html#assign_table_props-class_method" title="TermUtils::Tab.assign_table_props (method)">assign_table_props</a></span></span><span class='lparen'>(</span><span class='ivar'>@table_defaults</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -1198,12 +1198,12 @@
</div>
</div>
<div id="footer">
- Generated on Fri Feb 7 18:54:39 2020 by
+ Generated on Sun Aug 2 18:35:09 2020 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.9.20 (ruby-2.6.5).
+ 0.9.25 (ruby-2.6.5).
</div>
</div>
</body>
</html>
\ No newline at end of file