<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Class: Doing::Items — Documentation by YARD 0.9.26 </title> <link rel="stylesheet" href="../css/style.css" type="text/css" /> <link rel="stylesheet" href="../css/common.css" type="text/css" /> <script type="text/javascript"> pathId = "Doing::Items"; 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> <div id="main" tabindex="-1"> <div id="header"> <div id="menu"> <a href="../_index.html">Index (I)</a> » <span class='title'><span class='object_link'><a href="../Doing.html" title="Doing (module)">Doing</a></span></span> » <span class="title">Items</span> </div> <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> </div> <div class="clear"></div> </div> <div id="content"><h1>Class: Doing::Items </h1> <div class="box_info"> <dl> <dt>Inherits:</dt> <dd> <span class="inheritName"><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></span> <ul class="fullTree"> <li>Object</li> <li class="next"><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></li> <li class="next">Doing::Items</li> </ul> <a href="#" class="inheritanceTree">show all</a> </dd> </dl> <dl> <dt>Defined in:</dt> <dd>lib/doing/wwidfile.rb</dd> </dl> </div> <h2> Instance Method Summary <small><a href="#" class="summary_toggle">collapse</a></small> </h2> <ul class="summary"> <li class="public "> <span class="summary_signature"> <a href="#add_section-instance_method" title="#add_section (instance method)">#<strong>add_section</strong>(title) ⇒ Object </a> </span> <span class="summary_desc"><div class='inline'><p>Adds a section.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#from-instance_method" title="#from (instance method)">#<strong>from</strong>(path) ⇒ Object </a> </span> <span class="summary_desc"><div class='inline'></div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#guess_section-instance_method" title="#guess_section (instance method)">#<strong>guess_section</strong>(frag, guessed: false, suggest: false) ⇒ Object </a> </span> <span class="summary_desc"><div class='inline'><p>Attempt to match a string with an existing section.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#section_items-instance_method" title="#section_items (instance method)">#<strong>section_items</strong>(section) ⇒ Object </a> </span> <span class="summary_desc"><div class='inline'></div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#section_titles-instance_method" title="#section_titles (instance method)">#<strong>section_titles</strong> ⇒ Object </a> </span> <span class="summary_desc"><div class='inline'></div></span> </li> </ul> <div id="instance_method_details" class="method_details_list"> <h2>Instance Method Details</h2> <div class="method_details first"> <h3 class="signature first" id="add_section-instance_method"> #<strong>add_section</strong>(title) ⇒ <tt>Object</tt> </h3><div class="docstring"> <div class="discussion"> <p>Adds a section.</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>title</span> <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span> — <div class='inline'><p>The new section title</p> </div> </li> </ul> </div> </div> <div class="method_details "> <h3 class="signature " id="from-instance_method"> #<strong>from</strong>(path) ⇒ <tt>Object</tt> </h3> </div> <div class="method_details "> <h3 class="signature " id="guess_section-instance_method"> #<strong>guess_section</strong>(frag, guessed: false, suggest: false) ⇒ <tt>Object</tt> </h3><div class="docstring"> <div class="discussion"> <p>Attempt to match a string with an existing section</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>frag</span> <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span> — <div class='inline'><p>The user-provided string</p> </div> </li> <li> <span class='name'>guessed</span> <span class='type'>(<tt>Boolean</tt>)</span> <em class="default">(defaults to: <tt>false</tt>)</em> — <div class='inline'><p>already guessed and failed</p> </div> </li> </ul> </div> </div> <div class="method_details "> <h3 class="signature " id="section_items-instance_method"> #<strong>section_items</strong>(section) ⇒ <tt>Object</tt> </h3> </div> <div class="method_details "> <h3 class="signature " id="section_titles-instance_method"> #<strong>section_titles</strong> ⇒ <tt>Object</tt> </h3> </div> </div> </div> <div id="footer"> Generated on Thu Nov 18 16:39:12 2021 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.26 (ruby-3.0.1). </div> </div> </body> </html>