doc/CSVDecision/Defaults.html in csv_decision2-0.5.1 vs doc/CSVDecision/Defaults.html in csv_decision2-0.5.2

- old
+ new

@@ -1,291 +1,304 @@ <!DOCTYPE html> <html> - <head> - <meta charset="utf-8"> -<meta name="viewport" content="width=device-width, initial-scale=1.0"> -<title> - Module: CSVDecision::Defaults - + +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title> + Module: CSVDecision2::Defaults + &mdash; Documentation by YARD 0.9.12 - -</title> + </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"> - pathId = "CSVDecision::Defaults"; - relpath = '../'; -</script> + <script type="text/javascript" charset="utf-8"> + pathId = "CSVDecision2::Defaults"; + relpath = '../'; + </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 class="nav_wrap"> - <iframe id="nav" src="../class_list.html?1"></iframe> - <div id="resizer"></div> - </div> +</head> - <div id="main" tabindex="-1"> - <div id="header"> - <div id="menu"> - - <a href="../_index.html">Index (D)</a> &raquo; - <span class='title'><span class='object_link'><a href="../CSVDecision.html" title="CSVDecision (module)">CSVDecision</a></span></span> - &raquo; - <span class="title">Defaults</span> - -</div> +<body> + <div class="nav_wrap"> + <iframe id="nav" src="../class_list.html?1"></iframe> + <div id="resizer"></div> + </div> - <div id="search"> - - <a class="full_list_link" id="class_list_link" - href="../class_list.html"> + <div id="main" tabindex="-1"> + <div id="header"> + <div id="menu"> - <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> - -</div> - <div class="clear"></div> + <a href="../_index.html">Index (D)</a> &raquo; + <span class='title'><span class='object_link'><a href="../CSVDecision2.html" + title="CSVDecision (module)">CSVDecision</a></span></span> + &raquo; + <span class="title">Defaults</span> + </div> - <div id="content"><h1>Module: CSVDecision::Defaults - - - <span class="private note title">Private</span> -</h1> -<div class="box_info"> - + <div id="search"> - - - - - + <a class="full_list_link" id="class_list_link" href="../class_list.html"> - + <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> - - <dl> - <dt>Defined in:</dt> - <dd>lib/csv_decision/defaults.rb</dd> - </dl> - -</div> + </div> + <div class="clear"></div> + </div> -<h2>Overview</h2><div class="docstring"> - <div class="discussion"> - <p class="note private"> - <strong>This module is part of a private API.</strong> - You should avoid using this module if possible, as it may be removed or be changed in the future. -</p> + <div id="content"> + <h1>Module: CSVDecision2::Defaults -<p>Parse the default row beneath the header row if present</p> + <span class="private note title">Private</span> + </h1> + <div class="box_info"> - </div> -</div> -<div class="tags"> - -</div> - - <h2> - Class Method Summary - <small><a href="#" class="summary_toggle">collapse</a></small> - </h2> - <ul class="summary"> - + + + <dl> + <dt>Defined in:</dt> + <dd>lib/csv_decision2/defaults.rb</dd> + </dl> + + </div> + + <h2>Overview</h2> + <div class="docstring"> + <div class="discussion"> + <p class="note private"> + <strong>This module is part of a private API.</strong> + You should avoid using this module if possible, as it may be removed or be changed in the future. + </p> + + <p>Parse the default row beneath the header row if present</p> + + + </div> + </div> + <div class="tags"> + + + </div> + + + + + + + + <h2> + Class Method Summary + <small><a href="#" class="summary_toggle">collapse</a></small> + </h2> + + <ul class="summary"> + <li class="public "> - <span class="summary_signature"> - - <a href="#parse-class_method" title="parse (class method)">.<strong>parse</strong>(columns:, matchers:, row:) &#x21d2; Object </a> - + <span class="summary_signature"> - - </span> - - - - - - - <span class="private note title">private</span> + <a href="#parse-class_method" title="parse (class method)">.<strong>parse</strong>(columns:, matchers:, + row:) &#x21d2; Object </a> - - <span class="summary_desc"><div class='inline'> -<p>Parse the defaults row that (optionally) appears just after the header row.</p> -</div></span> - -</li> - - </ul> - + </span> - <div id="class_method_details" class="method_details_list"> - <h2>Class Method Details</h2> - - <div class="method_details first"> - <h3 class="signature first" id="parse-class_method"> - - .<strong>parse</strong>(columns:, matchers:, row:) &#x21d2; <tt>Object</tt> - - - -</h3><div class="docstring"> - <div class="discussion"> - <p class="note private"> - <strong>This method is part of a private API.</strong> - You should avoid using this method if possible, as it may be removed or be changed in the future. -</p> -<p>Parse the defaults row that (optionally) appears just after the header row. -We have already determined that this row must be present.</p> + <span class="private note title">private</span> - </div> -</div> -<div class="tags"> - <p class="tag_title">Parameters:</p> -<ul class="param"> - - <li> - - <span class='name'>columns</span> - - - <span class='type'>(<tt>{Integer=&gt;<span class='object_link'><a href="Dictionary/Entry.html" title="CSVDecision::Dictionary::Entry (class)">Dictionary::Entry</a></span>}</tt>)</span> - - - - &mdash; - <div class='inline'> -<p>Hash of header columns with defaults.</p> -</div> - - </li> - - <li> - - <span class='name'>matchers</span> - - - <span class='type'>(<tt>Array&lt;<span class='object_link'><a href="Matchers.html" title="CSVDecision::Matchers (class)">Matchers</a></span>&gt;</tt>)</span> - - - - &mdash; - <div class='inline'> -<p>Output cell special matchers.</p> -</div> - - </li> - - <li> - - <span class='name'>row</span> - - - <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span> - - - - &mdash; - <div class='inline'> -<p>Defaults row that appears just after the header row.</p> -</div> - - </li> - -</ul> + <span class="summary_desc"> + <div class='inline'> + <p>Parse the defaults row that (optionally) appears just after the header row.</p> + </div> + </span> -<p class="tag_title">Raises:</p> -<ul class="raise"> - - <li> - - - <span class='type'>(<tt><span class='object_link'><a href="TableValidationError.html" title="CSVDecision::TableValidationError (class)">TableValidationError</a></span></tt>)</span> - - - - &mdash; - <div class='inline'> -<p>Missing defaults row.</p> -</div> - - </li> - -</ul> + </li> -</div><table class="source_code"> - <tr> - <td> - <pre class="lines"> + </ul> + + + + <div id="class_method_details" class="method_details_list"> + <h2>Class Method Details</h2> + + + <div class="method_details first"> + <h3 class="signature first" id="parse-class_method"> + + .<strong>parse</strong>(columns:, matchers:, row:) &#x21d2; <tt>Object</tt> + + + + + + </h3> + <div class="docstring"> + <div class="discussion"> + <p class="note private"> + <strong>This method is part of a private API.</strong> + You should avoid using this method if possible, as it may be removed or be changed in the future. + </p> + + <p>Parse the defaults row that (optionally) appears just after the header row. + We have already determined that this row must be present.</p> + + + </div> + </div> + <div class="tags"> + <p class="tag_title">Parameters:</p> + <ul class="param"> + + <li> + + <span class='name'>columns</span> + + + <span class='type'>(<tt>{Integer=&gt;<span class='object_link'><a href="Dictionary/Entry.html" + title="CSVDecision2::Dictionary::Entry (class)">Dictionary::Entry</a></span>}</tt>)</span> + + + + &mdash; + <div class='inline'> + <p>Hash of header columns with defaults.</p> + </div> + + </li> + + <li> + + <span class='name'>matchers</span> + + + <span class='type'>(<tt>Array&lt;<span class='object_link'><a href="Matchers.html" + title="CSVDecision2::Matchers (class)">Matchers</a></span>&gt;</tt>)</span> + + + + &mdash; + <div class='inline'> + <p>Output cell special matchers.</p> + </div> + + </li> + + <li> + + <span class='name'>row</span> + + + <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span> + + + + &mdash; + <div class='inline'> + <p>Defaults row that appears just after the header row.</p> + </div> + + </li> + + </ul> + + <p class="tag_title">Raises:</p> + <ul class="raise"> + + <li> + + + <span class='type'>(<tt><span class='object_link'><a href="TableValidationError.html" + title="CSVDecision2::TableValidationError (class)">TableValidationError</a></span></tt>)</span> + + + + &mdash; + <div class='inline'> + <p>Missing defaults row.</p> + </div> + + </li> + + </ul> + + </div> + <table class="source_code"> + <tr> + <td> + <pre class="lines"> + + 17 18 19 20 21 22 23 24 25 26</pre> - </td> - <td> - <pre class="code"><span class="info file"># File 'lib/csv_decision/defaults.rb', line 17</span> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/csv_decision2/defaults.rb', line 17</span> <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='label'>columns:</span><span class='comma'>,</span> <span class='label'>matchers:</span><span class='comma'>,</span> <span class='label'>row:</span><span class='rparen'>)</span> - <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="TableValidationError.html" title="CSVDecision::TableValidationError (class)">TableValidationError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Missing defaults row</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_row'>row</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> + <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="TableValidationError.html" title="CSVDecision2::TableValidationError (class)">TableValidationError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Missing defaults row</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_row'>row</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='id identifier rubyid_defaults'>defaults</span> <span class='op'>=</span> <span class='id identifier rubyid_columns'>columns</span><span class='period'>.</span><span class='id identifier rubyid_defaults'>defaults</span> <span class='comment'># Scan the default row for procs and constants -</span> <span class='id identifier rubyid_scan_row'>scan_row</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="ScanRow.html" title="CSVDecision::ScanRow (class)">ScanRow</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ScanRow.html#initialize-instance_method" title="CSVDecision::ScanRow#initialize (method)">new</a></span></span><span class='period'>.</span><span class='id identifier rubyid_scan_columns'><span class='object_link'><a href="ScanRow.html#scan_columns-instance_method" title="CSVDecision::ScanRow#scan_columns (method)">scan_columns</a></span></span><span class='lparen'>(</span><span class='label'>row:</span> <span class='id identifier rubyid_row'>row</span><span class='comma'>,</span> <span class='label'>columns:</span> <span class='id identifier rubyid_defaults'>defaults</span><span class='comma'>,</span> <span class='label'>matchers:</span> <span class='id identifier rubyid_matchers'>matchers</span><span class='rparen'>)</span> +</span> <span class='id identifier rubyid_scan_row'>scan_row</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="ScanRow.html" title="CSVDecision2::ScanRow (class)">ScanRow</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="ScanRow.html#initialize-instance_method" title="CSVDecision2::ScanRow#initialize (method)">new</a></span></span><span class='period'>.</span><span class='id identifier rubyid_scan_columns'><span class='object_link'><a href="ScanRow.html#scan_columns-instance_method" title="CSVDecision2::ScanRow#scan_columns (method)">scan_columns</a></span></span><span class='lparen'>(</span><span class='label'>row:</span> <span class='id identifier rubyid_row'>row</span><span class='comma'>,</span> <span class='label'>columns:</span> <span class='id identifier rubyid_defaults'>defaults</span><span class='comma'>,</span> <span class='label'>matchers:</span> <span class='id identifier rubyid_matchers'>matchers</span><span class='rparen'>)</span> <span class='id identifier rubyid_parse_columns'>parse_columns</span><span class='lparen'>(</span><span class='label'>defaults:</span> <span class='id identifier rubyid_defaults'>defaults</span><span class='comma'>,</span> <span class='label'>columns:</span> <span class='id identifier rubyid_columns'>columns</span><span class='period'>.</span><span class='id identifier rubyid_dictionary'>dictionary</span><span class='comma'>,</span> <span class='label'>row:</span> <span class='id identifier rubyid_scan_row'>scan_row</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> - </td> - </tr> -</table> -</div> - - </div> + </td> + </tr> + </table> + </div> -</div> + </div> - <div id="footer"> - Generated on Sun Feb 11 10:26:07 2018 by - <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.9.12 (ruby-2.4.0). -</div> + </div> + <div id="footer"> + Generated on Sun Feb 11 10:26:07 2018 by + <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> + 0.9.12 (ruby-2.4.0). </div> - </body> -</html> \ No newline at end of file + + </div> +</body> + +</html>